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.
Inventories API
Endpoints |
Use Cases and Comments |
---|---|
Deprecated: GET
|
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 |
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 |
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 |
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 Introduced: POST |
Use case: Retrieve a list of available inventory sources.
|
Deprecated: GET Introduced: POST |
Use case: Retrieve a list of available deals.
|
Deprecated: POST |
Use case: Create a manual deal. At the moment, the creation of manual deals is available through Deal Management UI. |
Deprecated: GET Introduced: GET |
Use case: Get details of the single deal. Deal |
Deprecated: PUT Deprecated: PATCH |
Use case: Update deal state. At the moment, changing deal state is available through Deal Management UI. |
Deprecated: GET Introduced: POST Introduced: POST |
Use case: Retrieve lists of available inventory sources and deals.
|
Deprecated: GET Introduced: |
Use case: Get details of the single inventory source. |
Deprecated: GET Deprecated: POST Introduced: POST Introduced: POST |
Use case: Retrieve lists of available inventory sources and deals.
|
Deprecated: GET /dsp/v1/inventoriesoverview/logos |
Use case: No usage |
Inventories Search API
Endpoints to Deprecate |
New Endpoints |
Use Case |
---|---|---|
POST |
POST |
Retrieve a list of available deals. |
POST |
No usage |
|
POST |
POST |
Retrieve a list of available inventory sources. |
POST |
No usage |
New Endpoints |
Use Case |
---|---|
POST |
Retrieve a list of available ad exchanges. |
POST |
Retrieve a list of available domains. |
GET |
Get domain details by domain name. |
POST |
Retrieve a list of available apps. |
GET |
Get app details by app ID and store ID |
Endpoints to Deprecate |
New Endpoints |
Use Case |
Comments |
---|---|---|---|
GET POST |
POST GET GET GET |
Retrieve performance KPIs of inventory sources, deals, domains, subdomains, apps. |
To retrieve KPIs for inventory, you can follow a similar workflow described in Guide to Generating Advertiser Reports With API. |
POST |
|||
POST |
-
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 withSourceType
+IntegerDealId
+InventorySourceId
identification.
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).
To make API requests to the Inventory Marketplace API, you need a valid bearer token with the appropriate scopes:
Previous Scopes |
New Scopes |
---|---|
|
|
|
Tip
For more information about authorizing with Adform APIs, see the Authorization Guide.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.