Inventory Marketplace API — Migration Guide

Greta
Greta
  • Updated

API Name (Version)

Deprecation Date

Sunset Date

Inventory API

June 27, 2025

January 30, 2026

Inventories Search API

June 27, 2025

January 30, 2026

With the new read-only Inventory Marketplace API you can retrieve available inventories, deals, domains, and apps to support line item creation and updates. This API provides access to inventory data from the bid stream data, which includes channels, ad sizes, and ad types. In comparison, the old Inventory API and Inventories Search API provided static information (creative settings) that was set on Inventory profile.

If you have been using any Inventory API or Inventories Search API endpoints, follow this guide to migrate to Inventory Marketplace API before the sunset date (December 31, 2025). For more information about using Inventory Marketplace API to set up inventory targeting for programmatic line item, see Set Up Inventory With API.

Understand Affected API Endpoints

Inventories API

Endpoints

Use Cases and Comments

Deprecated: GET /dsp/v1/creativesettings

 

Use case: No usage

Creative settings are static information, set in Inventory settings, and aren't based on actual bid requests.

Users can now get actual information from bid stream data by using Inventory Marketplace API - Ad types, Channels and Ad sizes can be retrieved together with Inventory Sources, Deals, Apps and Domains data.

Deprecated: GET /dsp/v1/creativesettings/classificator/{type}

Use case: No usage

Creative settings are static information, set in Inventory settings, and aren't based on actual bid requests.

Users can now get actual information from bid stream data by using Inventory Marketplace API - Ad types, Channels and Ad sizes can be retrieved together with Inventory Sources, Deals, Apps and Domains data.

Deprecated: GET /dsp/v1/deals/{parentSourceId}/{sourceType}/{sourceId}/advertiser-ids

Use case: Get a list of advertisers that are allowed to see the specified deal.

At the moment, access to deal advertisers is only available through Deal Management UI.

Deprecated: PUT /dsp/v1/deals/{parentSourceId}/{sourceType}/{sourceId}/advertiser-ids

Use case: Update a list of advertisers that are allowed to see the specified deal.

At the moment, modification of deal advertisers is only available through Deal Management UI.

Deprecated: GET /dsp/v1/deals/inventorySources

Introduced: POST /v1/buyer/marketplace/inventories/inventorysources/list

Use case: Retrieve a list of available inventory sources.

mustHaveDeals and mustSupportManualDeals filters were deprecated.

Deprecated: GET /dsp/v1/deals

Introduced: POST /v1/buyer/marketplace/inventories/deals/list

Use case: Retrieve a list of available deals.

  • Supports filtering only by a single inventorySourceId instead of multiple.

  • Supports filtering only by a single advertiserId instead of multiple.

  • The search filter was replaced with an option to filter by individual deal properties.

  • The dealState filter was removed, because only accepted deals are available in the Inventory Marketplace.

Deprecated: POST /dsp/v1/deals

Use case: Create a manual deal.

At the moment, the creation of manual deals is available through Deal Management UI.

Deprecated: GET /dsp/v1/deals/{parentSourceId}/{sourceType}/{sourceId}

Introduced: GET /v1/buyer/marketplace/inventories/deals/{dealId}/{inventorySourceId}

Use case: Get details of the single deal.

Deal sourceType is no longer needed to identify a single deal.

Deprecated: PUT /dsp/v1/deals/{parentSourceId}/{sourceType}/{sourceId}

Deprecated: PATCH dsp/v1/deals/{parentSourceId}/{sourceType}/{sourceId}

Use case: Update deal state.

At the moment, changing deal state is available through Deal Management UI.

Deprecated: GET /dsp/v1/inventoriesoverview/available

Introduced: POST /v1/buyer/marketplace/inventories/inventorysources/list

Introduced: POST /v1/buyer/marketplace/inventories/deals/list

Use case: Retrieve lists of available inventory sources and deals.

  • activityId and campaignId filters deprecated and replaced with advertiserId filter. When Line Item ID or Campaign ID is known, Advertiser ID can be retrieved from a campaign by calling Campaigns Management API.

  • supportedBy filter is replaced with environmentcpmvEnabled filter is deprecated.

Deprecated: GET /dsp/v1/inventoriesoverview/{parentSourceId}/{sourceType}/{sourceId}

Introduced: /v1/buyer/marketplace/inventories/inventorysources/{inventorySourceId}

Use case: Get details of the single inventory source.

Deprecated: GET /dsp/v1/inventoriesoverview

Deprecated: POST /dsp/v1/inventoriesoverview/bulk

Introduced: POST /v1/buyer/marketplace/inventories/inventorysources/list

Introduced: POST /v1/buyer/marketplace/inventories/deals/list

Use case: Retrieve lists of available inventory sources and deals.

  • activityId and campaignId filters deprecated and replaced with advertiserId filter. When Line Item ID or Campaign ID is known, Advertiser ID can be retrieved from a campaign by calling Campaigns Managemegnt API.

  • parentSourceId filter replaced with inventorySourceId when requesting available deals.

  • bannerType filter replaced with dspAdTypes.

  • richMediaSubtype filter deprecated.

  • country filter replaced with countryIds. Supported list of country IDs can be retrieved from Classifiers API.

  • size filter replaced with adSizes.

  • iabCategory filter replaced with iabCategoryIds. Supported list of IAB Category IDs can be retrieved from Classifiers API.

  • inventoryType filter is deprecated and replaced with different endpoints.

  • Package inventory is deprecated.

  • search filter is deprecated.

  • orderBy and orderDirection options are deprecated. Inventory Marketplace API returns lists ordered internally by entity ID.

  • supportedBy filter is replaced with environment.

  • cpmvEnabled filter is deprecated.

  • viewThumbnails option is deprecated.

  • inventoryIds filter replaced with inventorySourceId, but limited to a single inventory source only.

  • packageIds filter is deprecated.

  • Impressions response properties deprecated.

Deprecated: GET /dsp/v1/inventoriesoverview/logos

Use case: No usage

Inventories Search API

Endpoints to Deprecate

New Endpoints

Use Case

POST /v1/buyer/inventories/deals/search

POST /v1/buyer/marketplace/inventories/deals/list

Retrieve a list of available deals.

POST /v1/buyer/inventories/deals/facets/{dealFacetType}

No usage

POST /v1/buyer/inventories/inventorysources/search

POST /v1/buyer/marketplace/inventories/inventorysources/list

Retrieve a list of available inventory sources.

POST /v1/buyer/inventories/inventorysources/facets/{inventorySourceFacetType}

No usage

New Endpoints in Inventory Marketplace API

New Endpoints

Use Case

POST /v1/buyer/marketplace/inventories/adexchanges/list

Retrieve a list of available ad exchanges.

POST /v1/buyer/marketplace/inventories/domains/list

Retrieve a list of available domains.

GET /v1/buyer/marketplace/inventories/domains/{domain}

Get domain details by domain name.

POST /v1/buyer/marketplace/inventories/apps/list

Retrieve a list of available apps.

GET /v1/buyer/marketplace/inventories/apps/{storeId}/{id}

Get app details by app ID and store ID

Retrieval of KPIs for Inventory Sources, Deals, Domains, and Apps

Endpoints to Deprecate

New Endpoints

Use Case

Comments

GET /dsp/v1/inventoriesoverview

POST /dsp/v1/inventoriesoverview/bulk

POST /v2/market/stats/reports

GET /v2/market/stats/operations

GET /v2/market/stats/operations/{id}

GET /v2/market/stats/reports/{id}

Retrieve performance KPIs of inventory sources, deals, domains, subdomains, apps.

eCPM, eCPC, CTR metrics are deprecated. Performance KPIs for wanted inventory sources, deals, apps and domains can be retrieved from Inventory Marketplace Stats API.

To retrieve KPIs for inventory, you can follow a similar workflow described in Guide to Generating Advertiser Reports With API.

POST /v1/buyer/inventories/inventorysources/search

POST /v1/buyer/inventories/deals/search

New Features Introduced With Inventory Marketplace API

  • Inventory information can be accessed through two types of endpoints:

    • POST endpoints allow users to retrieve lists of available ad exchanges, inventory sources, deals, domains, and apps, along with parameters derived from bid-stream data such as channels, ad types, and environments. Furthermore, users have the ability to filter on most of the inventory properties and have flexible control of the response model.

    • GET endpoints provide more detailed information about specific inventory items. These include additional parameters like ad sizes, countries, and IAB categories, which are also based on bid-stream data.

  • Users can retrieve a list of available ad exchanges.

  • New deal identity: InventorySourceId+DealId. Deals are no longer recognized with SourceType+IntegerDealId+InventorySourceId identification.

Breaking Changes

See the new authorization scopes as well as request samples and field parameters that change when migrating from Inventory API and Inventories Search API to Inventory Marketplace API.

Note

Existing API users have already been assigned the new scopes for Inventory Marketplace API. New users need to request the new scope from Adform Support (technical@adform.com).

Authorization

To make API requests to the Inventory Marketplace API, you need a valid bearer token with the appropriate scopes:

Previous Scopes

New Scopes

api.adform.com/scope/marketplace.inventory.search.api: Grants full access to the Inventories Search API.

api.adform.com/scope/buyer.marketplace.inventories.readonly: Grants read-only access to the Inventory Marketplace API

https://api.adform.com/scope/market.stats: Grants access to the Inventory Marketplace Stats API.

Tip

For more information about authorizing with Adform APIs, see the Authorization Guide.

Retrieve Available Inventory Sources list

Inventory API endpoints (GET /dsp/v1/inventoriesoverview/available, GET /dsp/v1/inventoriesoverview, POST /dsp/v1/inventoriesoverview/bulk), and Inventories Search API endpoint (POST /v1/buyer/inventories/inventorysources/search) are replaced by Inventory Marketplace API endpoint (POST /v1/buyer/marketplace/inventories/inventorysources/list).

Use the new endpoint to retrieve a list of available inventory sources.

See the changes in the response body and the new or changed parameters described below.

Retrieve Inventory source details

Inventory API endpoint GET /dsp/v1/inventoriesoverview/{parentSourceId}/{sourceType}/{sourceId} is replaced by Inventory Marketplace API endpoint GET /v1/buyer/marketplace/inventories/inventorysources/{inventorySourceId}.

Use the new endpoint to retrieve details of the needed inventory source. See the changes in the response body and the new or changed parameters described below.

Retrieve the available deals list

Inventory API endpoints GET /dsp/v1/deals and Inventories Search API endpoint POST /v1/buyer/inventories/deals/search is replaced by Inventory Marketplace API endpoint POST /v1/buyer/marketplace/inventories/deals/list.

Use the new endpoint to retrieve a list of available deals. See the changes in the response body and the new or changed parameters described below.

Retrieve the available deals list

Inventory API endpoints GET /dsp/v1/deals and Inventories Search API endpoint POST /v1/buyer/inventories/deals/search is replaced by Inventory Marketplace API endpoint POST /v1/buyer/marketplace/inventories/deals/list.

Use the new endpoint to retrieve a list of available deals. See the changes in the response body and the new or changed parameters described below.

Retrieve deal details

Inventory API endpoint GET /dsp/v1/deals/{parentSourceId}/{sourceType}/{sourceId} is replaced by Inventory Marketplace API endpoint GET /v1/buyer/marketplace/inventories/deals/{dealId}/{inventorySourceId}.

Use the new endpoint to retrieve details of the needed deal. See the changes in the response body and the new or changed parameters described below.

Retrieve available ad exchanges list

New Inventory Marketplace API endpoint POST /v1/buyer/marketplace/inventories/adexchanges/list is introduced. Use the new endpoint to retrieve a list of available ad exchanges (inventory sources).

See the response body and the parameters described below.

Retrieve available domain list

New Inventory Marketplace API endpoint POST /v1/buyer/marketplace/inventories/domains/list is introduced.

Use the new endpoint to retrieve a list of domains. See the response body and the parameters described below.

Retrieve domain details

New Inventory Marketplace API endpoint GET /v1/buyer/marketplace/inventories/domains/{domain}.

Use the new endpoint to retrieve details of the needed domain. See the response body and the parameters described below.

Retrieve available apps list

New Inventory Marketplace API endpoint POST /v1/buyer/marketplace/inventories/apps/list is introduced.

Use the new endpoint to retrieve a list of apps. See the response body and the parameters described below.

Retrieve app details

New Inventory Marketplace API endpoint GET /v1/buyer/marketplace/inventories/apps/{storeId}/{id}.

Use the new endpoint to retrieve details of the needed app. See the response body and the parameters described below.

Work With Inventory Marketplace Stats API for Retrieval of KPIs

With Inventory Marketplace Stats API, you can retrieve performance KPIs of the selected inventory sources and deals.

To see the dimensions and metrics that can be used in Inventory Marketplace Stats API, use Metadata endpoints. For more information, see Guide to Generating Advertiser Reports With API.

After creating a report operation, you should check report operation status via GET /v2/market/stats/operations/{id} in Inventory Marketplace Stats API. Once the report is ready, you can retrieve it via GET /v2/market/stats/reports/{id}.

Tip

You can follow a similar workflow described in Guide to Generating Advertiser Reports With API.

Retrieve KPIs for Inventory sources

New Inventory Marketplace Stats API endpoints POST /v2/market/stats/reports, GET /v2/market/stats/operations/{id}, GET /v2/market/stats/reports/{id}. Use the new endpoints to retrieve information about inventory source performance KPIs. See the request body, response body and the parameters described below.

Retrieve KPIs for Deals With Specific Filtering

New Inventory Marketplace Stats API endpoints POST /v2/market/stats/reports, GET /v2/market/stats/operations/{id}, GET /v2/market/stats/reports/{id}. Use the new endpoints to retrieve information about deals performance KPIs according to specific filters. See the request body, response body and the parameters described below.

Was this article helpful?

/
How we can make it better?

Thank you for your feedback!