Inventory API
Inventory
The structure and makeup of the places where ads are going to be delivered.
Publishers
List a publisher
GET /v1/inventory/publisher/{id}Retrieves details of a publisher by it's ID.@351
Request body
idResponse - 200
{
"id": 1,
"parentId": 0,
"companyName": "Main Publisher",
"quote": "",
"active": 1,
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTelephone": "",
"companyFax": "",
"companyEmail": "",
"companyURL": "",
"companyVat": "",
"companyBankAccount": "",
"contactName": "",
"contactFirstName": "",
"contactAddress": "",
"contactNumber": "",
"contactZip": "",
"contactCity": "",
"contactCountry": "",
"contactTelephone": "",
"contactFax": "",
"contactEmail": "",
"description": "",
"paymentMethod": "",
"invoicingParty": ""
}Response codes
200400401403404405406409415500Update a publisher
PUT /v1/inventory/publisher/{id}Updates the name, parent publisher, and active status of an existing publisher. Fields the request omits are left as they are.
Request body
parentPublisherIdnameactiveUpdating a publisher
{
"name": "Demo Publisher"
}Response - 200
{
"id": 1,
"parentId": 0,
"companyName": "Demo Publisher",
"quote": "",
"active": 1,
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTelephone": "",
"companyFax": "",
"companyEmail": "",
"companyURL": "",
"companyVat": "",
"companyBankAccount": "",
"contactName": "",
"contactFirstName": "",
"contactAddress": "",
"contactNumber": "",
"contactZip": "",
"contactCity": "",
"contactCountry": "",
"contactTelephone": "",
"contactFax": "",
"contactEmail": "",
"description": "",
"paymentMethod": "",
"invoicingParty": ""
}Response codes
200400401403404405406409415500Delete a publisher
DELETE /v1/inventory/publisher/{id}Sets a publisher to inactive.
Request body
idResponse codes
204400401403404405406409415500List publishers
GET /v1/inventory/publisherRetrieves all publishers and their information.
Response - 200
[
{
"id": 1,
"parentId": 0,
"companyName": "Demo Publisher",
"quote": "",
"active": 1,
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTelephone": "",
"companyFax": "",
"companyEmail": "",
"companyURL": "",
"companyVat": "",
"companyBankAccount": "",
"contactName": "",
"contactFirstName": "",
"contactAddress": "",
"contactNumber": "",
"contactZip": "",
"contactCity": "",
"contactCountry": "",
"contactTelephone": "",
"contactFax": "",
"contactEmail": "",
"description": "",
"paymentMethod": "",
"invoicingParty": ""
},
{
"id": 2,
"parentId": 1,
"companyName": "Example Demo Publisher",
"quote": "",
"active": 0,
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTelephone": "",
"companyFax": "",
"companyEmail": "",
"companyURL": "",
"companyVat": "",
"companyBankAccount": "",
"contactName": "",
"contactFirstName": "",
"contactAddress": "",
"contactNumber": "",
"contactZip": "",
"contactCity": "",
"contactCountry": "",
"contactTelephone": "",
"contactFax": "",
"contactEmail": "",
"description": "",
"paymentMethod": "-",
"invoicingParty": ""
}
]Create a publisher
POST /v1/inventory/publisherCreates a new publisher.
Request body
parentPublisherIdnameactivetrueCreating a new publisher
{
"parentPublisherId": 1,
"name": "Example API Publisher",
"active": true
}Response - 201
{
"id": 3,
"parentId": 1,
"companyName": "Example API Publisher",
"quote": "",
"active": 1,
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTelephone": "",
"companyFax": "",
"companyEmail": "",
"companyURL": "",
"companyVat": "",
"companyBankAccount": "",
"contactName": "",
"contactFirstName": "",
"contactAddress": "",
"contactNumber": "",
"contactZip": "",
"contactCity": "",
"contactCountry": "",
"contactTelephone": "",
"contactFax": "",
"contactEmail": "",
"description": "",
"paymentMethod": "-",
"invoicingParty": ""
}Response codes
201400401403404405406409415500Publications
List a publication
GET /v1/inventory/publication/{id}List a single publication by ID.@352
Request body
idResponse - 200
{
"id": 3,
"companyName": "Demo Sponsored Placements",
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTel": "",
"companyFax": "",
"companyUrl": "https://pool-demo.adhese.com/projects/marketing/index.html",
"companyEmail": "",
"publishersId": 1,
"quote": "",
"parentPublicationsId": 0,
"description": "",
"comment": "",
"active": 1,
"rank": 0,
"screenshotExtension": "",
"catchphrase": "",
"language": "",
"numberOfAuthors": 0,
"inventoryCategory": "sponsored_product"
}Response codes
200400401403404405406409415500Update a publication
PUT /v1/inventory/publication/{id}Updates the name, parent publisher, active status, quote and website of an existing publication. Fields the request omits are left as they are.
Request body
parentPublisherIdactivetruenamequotewebsiteUpdating a publication
{
"publisherId": 1,
"active": true,
"name": "Demo Display",
"quote": "DD",
"website": "https://pool-demo.adhese.com/projects/marketing/index.html"
}Response - 200
{
"id": 1,
"companyName": "Demo Display",
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTel": "",
"companyFax": "",
"companyUrl": "https://pool-demo.adhese.com/projects/marketing/index.html",
"companyEmail": "",
"publishersId": 1,
"quote": "DD",
"parentPublicationsId": 0,
"description": "",
"comment": "",
"active": 1,
"rank": 0,
"screenshotExtension": "",
"catchphrase": "",
"language": "",
"numberOfAuthors": 0,
"inventoryCategory": "display"
}Response codes
200400401403404405406409415500Delete a publication
DELETE /v1/inventory/publication/{id}Sets a publication to inactive.
Request body
idResponse codes
204400401403404405406409415500List all publications under a publisher
GET /v1/inventory/publicationList all publications under one or more publishers.
Request body
publisherIdsResponse - 200
[
{
"id": 1,
"companyName": "Demo Display",
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTel": "",
"companyFax": "",
"companyUrl": "https://pool-demo.adhese.com/projects/marketing/index.html",
"companyEmail": "",
"publishersId": 1,
"quote": "DD",
"parentPublicationsId": 0,
"description": "",
"comment": "",
"active": 1,
"rank": 0,
"screenshotExtension": "",
"catchphrase": "",
"language": "",
"numberOfAuthors": 0,
"inventoryCategory": "display"
},
{
"id": 2,
"companyName": "Demo DOOH",
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTel": "",
"companyFax": "",
"companyUrl": "https://adhese.eu",
"companyEmail": "",
"publishersId": 1,
"quote": "",
"parentPublicationsId": 0,
"description": "",
"comment": "",
"active": 1,
"rank": 0,
"screenshotExtension": "",
"catchphrase": "",
"language": "",
"numberOfAuthors": 0,
"inventoryCategory": "in_store"
},
{
"id": 3,
"companyName": "Demo Sponsored Placements",
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTel": "",
"companyFax": "",
"companyUrl": "https://pool-demo.adhese.com/projects/marketing/index.html",
"companyEmail": "",
"publishersId": 1,
"quote": "",
"parentPublicationsId": 0,
"description": "",
"comment": "",
"active": 1,
"rank": 0,
"screenshotExtension": "",
"catchphrase": "",
"language": "",
"numberOfAuthors": 0,
"inventoryCategory": "sponsored_product"
}
]Response codes
200400401403404405406409415500Create a publication
POST /v1/inventory/publicationCreate a new publication.
Request body
publisherIdactivetruenamequotewebsiteCreating a new publication
{
"publisherId": 3,
"active": true,
"name": "String Created Publication",
"quote": "SCP",
"website": "https://pool-demo.adhese.com/projects/marketing/index.html"
}Response - 201
{
"id": 5,
"companyName": "String Created Publication",
"companyAddress": "",
"companyNumber": "",
"companyZip": "",
"companyCity": "",
"companyCountry": "",
"companyTel": "",
"companyFax": "",
"companyUrl": "https://pool-demo.adhese.com/projects/marketing/index.html",
"companyEmail": "",
"publishersId": 3,
"quote": "SCP",
"parentPublicationsId": 0,
"description": "",
"comment": "",
"active": 1,
"rank": 0,
"screenshotExtension": "",
"catchphrase": "",
"language": "",
"numberOfAuthors": 0,
"inventoryCategory": null
}Response codes
201400401403404405406409415500Positions
List a single position
GET /v1/inventory/position/{id}Lists the chosen positions information by ID.@353
Request body
positionIdResponse - 200
{
"id": 9,
"publisherId": 1,
"transferId": 0,
"active": true,
"creation": "Mar 25, 2026, 2:31:29 PM CET",
"edited": "Mar 25, 2026, 2:31:29 PM CET",
"name": "",
"formatId": 4,
"formatName": "Billboard",
"formatWidth": 970,
"formatHeight": 250,
"formatSize": 0,
"locationId": 5,
"locationName": "ROS",
"locationTypeId": 10,
"publicationName": "Demo Display",
"previewUrl": "",
"url": ""
}Response codes
200400401403404405406409415500Updating a position
PUT /v1/inventory/position/{id}Updates a chosen positions name, format, location, position type, active status, and URL. Fields the request omits are left as they are.
Request body
idactivenameformatIdlocationIdurlpositionTypeIdUpdating a position
{
"active": true,
"name": "SCP Halfpage",
"formatId": 1,
"locationId": 9,
"url": "_scp_halfpage",
"positionTypeId": 10
}Response - 200
{
"id": 19,
"publisherId": 5,
"transferId": 0,
"active": true,
"creation": "Sep 22, 2026, 11:46:01 AM CEST",
"edited": "Sep 22, 2026, 11:52:26 AM CEST",
"name": "SCP Halfpage",
"formatId": 1,
"formatName": "Halfpage",
"formatWidth": 300,
"formatHeight": 600,
"formatSize": 0,
"locationId": 9,
"locationName": "SCP",
"locationTypeId": 10,
"publicationName": "String Created Publication",
"previewUrl": "",
"url": "_scp_halfpage"
}Response codes
200400401403404405406409415500Delete a position
DELETE /v1/inventory/position/{id}Sets a position to inactive by ID.
Request body
positionIdResponse codes
204400401403404405406409415500List all positions
GET /v1/inventory/positionList the details of all positions.
Request body
publicationIdactiveResponse - 200
[
{
"id": 1,
"publisherId": 1,
"transferId": 0,
"active": true,
"creation": "Mar 13, 2026, 3:09:34 PM CET",
"edited": "Mar 13, 2026, 3:09:34 PM CET",
"name": "",
"formatId": 4,
"formatName": "Billboard",
"formatWidth": 970,
"formatHeight": 250,
"formatSize": 0,
"locationId": 2,
"locationName": "Kitchen",
"locationTypeId": 10,
"publicationName": "Demo Display",
"previewUrl": "",
"url": ""
},
{
"id": 2,
"publisherId": 1,
"transferId": 0,
"active": true,
"creation": "Mar 13, 2026, 3:09:46 PM CET",
"edited": "Mar 13, 2026, 3:12:44 PM CET",
"name": "",
"formatId": 1,
"formatName": "Halfpage",
"formatWidth": 300,
"formatHeight": 600,
"formatSize": 0,
"locationId": 2,
"locationName": "Kitchen",
"locationTypeId": 10,
"publicationName": "Demo Display",
"previewUrl": "",
"url": ""
},
{
"id": 3,
"publisherId": 1,
"transferId": 0,
"active": true,
"creation": "Mar 13, 2026, 3:09:59 PM CET",
"edited": "Mar 13, 2026, 3:12:56 PM CET",
"name": "",
"formatId": 3,
"formatName": "Wide Skyscraper",
"formatWidth": 160,
"formatHeight": 600,
"formatSize": 0,
"locationId": 3,
"locationName": "Electronics",
"locationTypeId": 10,
"publicationName": "Demo Display",
"previewUrl": "",
"url": ""
},
]Response codes
200400401403404405406409415500Create a position
POST /v1/inventory/positionCreates a new position (ad slot) linked to a location, format, and position type. A request that omits the active status creates an active position.
Request body
activenameformatIdlocationIdurlpositionTypeIdCreating a new position
{
"active": true,
"name": "SCP Billboard",
"formatId": 4,
"locationId": 9,
"url": "_scp_billboard",
"positionTypeId": 10
}Response - 201
{
"id": 20,
"publisherId": 5,
"transferId": 0,
"active": true,
"creation": "Sep 22, 2026, 1:56:07 PM CEST",
"edited": "Sep 22, 2026, 1:56:07 PM CEST",
"name": "SCP Billboard",
"formatId": 4,
"formatName": "Billboard",
"formatWidth": 970,
"formatHeight": 250,
"formatSize": 0,
"locationId": 9,
"locationName": "SCP",
"locationTypeId": 10,
"publicationName": "String Created Publication",
"previewUrl": null,
"url": "_scp_billboard"
}Response codes
201400401403404405406409415500Locations
List a single location
GET /v1/inventory/location/{id}Retrieves a single location by its ID.@354
Request body
locationIdResponse - 200
{
"id": 9,
"name": "SCP",
"publicationId": 5,
"publicationQuote": "SCP",
"impressions": 0,
"impressionsWeekend": 0,
"contacts": 0,
"contactsWeekend": 0,
"isChannel": 0,
"url": "scp_home",
"previewUrl": "",
"code": null,
"price": 0.0,
"active": true,
"locationTypes": [
"full",
"guaranteed"
],
"numberOfBookings": 0
}Response codes
200400401403404405406409415500Update a location
PUT /v1/inventory/location/{id}Updates the name, URL, channel option code, publication, and location types of an existing location.
Request body
locationIdpublicationIdnameurlchannelOptionCode0GET /v1/inventory/location-channel-optionlocationTypesguranteedfullcodepriceResponse - 200
{
"id": 9,
"name": "SCP",
"publicationId": 5,
"publicationQuote": "SCP",
"impressions": 0,
"impressionsWeekend": 0,
"contacts": 0,
"contactsWeekend": 0,
"isChannel": 0,
"url": "scp_overview",
"previewUrl": "",
"code": "001",
"price": 1.0,
"active": true,
"locationTypes": [
"full",
"guaranteed"
],
"numberOfBookings": 0
}Response codes
200400401403404405406409415500Delete a location
DELETE /v1/inventory/location/{id}Set a location to inactive by ID.
Request body
locationIdResponse codes
204400401403404405406409415500List all locations by publication
GET /v1/inventory/locationLists all locations under a publication by it's ID.
Request body
publicationIdResponse - 200
[
{
"id": 4,
"name": "Audio",
"publicationId": 1,
"publicationQuote": "DD",
"impressions": 0,
"impressionsWeekend": 0,
"contacts": 0,
"contactsWeekend": 0,
"isChannel": 0,
"url": "demo.com_audio",
"previewUrl": "",
"code": null,
"price": 5.0,
"active": true,
"locationTypes": [
"full"
],
"numberOfBookings": 0
},
{
"id": 3,
"name": "Electronics",
"publicationId": 1,
"publicationQuote": "DD",
"impressions": 0,
"impressionsWeekend": 0,
"contacts": 0,
"contactsWeekend": 0,
"isChannel": 0,
"url": "demo.com_electronics",
"previewUrl": "",
"code": null,
"price": 5.0,
"active": true,
"locationTypes": [
"full",
"guaranteed"
],
"numberOfBookings": 0
},
{
"id": 1,
"name": "Home",
"publicationId": 1,
"publicationQuote": "DD",
"impressions": 0,
"impressionsWeekend": 0,
"contacts": 0,
"contactsWeekend": 0,
"isChannel": 0,
"url": "demo.com_home",
"previewUrl": "",
"code": "demo_web_home",
"price": 5.0,
"active": true,
"locationTypes": [
"full",
"guaranteed"
],
"numberOfBookings": 3
},
{
"id": 2,
"name": "Kitchen",
"publicationId": 1,
"publicationQuote": "DD",
"impressions": 0,
"impressionsWeekend": 0,
"contacts": 0,
"contactsWeekend": 0,
"isChannel": 0,
"url": "demo.com_kitchen",
"previewUrl": "",
"code": null,
"price": 5.0,
"active": true,
"locationTypes": [
"full"
],
"numberOfBookings": 0
},
{
"id": 5,
"name": "ROS",
"publicationId": 1,
"publicationQuote": "DD",
"impressions": 0,
"impressionsWeekend": 0,
"contacts": 0,
"contactsWeekend": 0,
"isChannel": 3,
"url": "",
"previewUrl": "",
"code": null,
"price": 5.0,
"active": true,
"locationTypes": [
"full"
],
"numberOfBookings": 1
}
]Response codes
200400401403404405406409415500Create a new location
POST /v1/inventory/locationCreate a new location under a publication by ID.
Request body
publicationIdnameurlchannelOptionCode0GET /v1/inventory/location-channel-optionlocationTypesguranteedfullcodepriceResponse - 201
{
"id": 11,
"name": "SCP BR",
"publicationId": 5,
"publicationQuote": "SCP",
"impressions": 0,
"impressionsWeekend": 0,
"contacts": 0,
"contactsWeekend": 0,
"isChannel": 0,
"url": "scp_br",
"previewUrl": null,
"code": "002",
"price": 1.2,
"active": true,
"locationTypes": [
"full",
"guaranteed"
],
"numberOfBookings": 0
}Response codes
201400401403404405406409415500Miscellaneous Inventory APIs
List position types
GET /v1/inventory/position-typeLists all available position types for the account.@355
Response - 200
[
{
"id": 1,
"name": "",
"templateFile": "",
"thirdPartyQuotum": 0
},
{
"id": 13,
"name": "newsletter img tag",
"templateFile": "",
"thirdPartyQuotum": 0
},
{
"id": 10,
"name": "normal javascript",
"templateFile": "",
"thirdPartyQuotum": 0
},
{
"id": 12,
"name": "normal javascript / no empty",
"templateFile": "",
"thirdPartyQuotum": 0
}
]Response codes
200400401403404405406409415500List location channel options
GET /v1/inventory/location-channel-optionLists all location channel options (such as normal position and available group levels).
Response - 200
[
{
"code": 0,
"name": "normal position (no group)"
},
{
"code": 1,
"name": "group level 1"
},
{
"code": 2,
"name": "group level 2"
},
{
"code": 3,
"name": "group level 3"
},
{
"code": 4,
"name": "group level 4"
},
{
"code": 5,
"name": "group level 5"
}
]Response codes
200400401403404405406409415500List available formats
GET /v1/inventory/formatRetrieves all available ad formats (templates) that can be assigned to positions.
Response - 200
[
{
"id": 4,
"name": "Billboard",
"width": 970,
"height": 250,
"active": true,
"comment": "",
"templateFile": "",
"allTogetherOrder": 0,
"hasCompletionRateEvents": 0,
"codeTag": "billboard",
"codeBook": "billboard"
},
{
"id": 1,
"name": "Halfpage",
"width": 300,
"height": 600,
"active": true,
"comment": "",
"templateFile": "",
"allTogetherOrder": 0,
"hasCompletionRateEvents": 0,
"codeTag": "halfpage",
"codeBook": "halfpage"
},
{
"id": 6,
"name": "Landscape Screen",
"width": 16,
"height": 9,
"active": true,
"comment": "",
"templateFile": "",
"allTogetherOrder": 0,
"hasCompletionRateEvents": 0,
"codeTag": "landscape",
"codeBook": "landscape"
},
{
"id": 5,
"name": "Leaderboard",
"width": 728,
"height": 90,
"active": true,
"comment": "",
"templateFile": "",
"allTogetherOrder": 0,
"hasCompletionRateEvents": 0,
"codeTag": "leaderboard",
"codeBook": "leaderboard"
},
{
"id": 2,
"name": "Medium Rectangle",
"width": 300,
"height": 250,
"active": true,
"comment": "",
"templateFile": "",
"allTogetherOrder": 0,
"hasCompletionRateEvents": 0,
"codeTag": "imu",
"codeBook": "imu;halfpage"
},
{
"id": 7,
"name": "Portrait Screen",
"width": 9,
"height": 16,
"active": true,
"comment": "",
"templateFile": "",
"allTogetherOrder": 0,
"hasCompletionRateEvents": 0,
"codeTag": "portrait",
"codeBook": "portrait"
},
{
"id": 3,
"name": "Wide Skyscraper",
"width": 160,
"height": 600,
"active": true,
"comment": "",
"templateFile": "",
"allTogetherOrder": 0,
"hasCompletionRateEvents": 0,
"codeTag": "skyscraper",
"codeBook": "skyscraper"
}
]Response codes
200400401403404405406409415500