curl --request GET \
--url https://api.interchange.io/api/v2/storefront/esa/{esaId}/inventory/publisher-properties \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/esa/{esaId}/inventory/publisher-properties"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/storefront/esa/{esaId}/inventory/publisher-properties', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"properties": [
{}
],
"allowedSelectors": [
{
"publisherDomain": "<string>",
"selectionType": "all",
"label": "<string>",
"propertyIds": [
"<string>"
],
"propertyTags": [
"<string>"
]
}
]
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}List publisher properties for an ad server source
List the publisher properties (sites, apps) the ad-server adapter exposes for this connection. Returns the full set; there is no domain filter. Property shapes are the upstream adapter’s payload and vary by ad server.
curl --request GET \
--url https://api.interchange.io/api/v2/storefront/esa/{esaId}/inventory/publisher-properties \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/esa/{esaId}/inventory/publisher-properties"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/storefront/esa/{esaId}/inventory/publisher-properties', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"properties": [
{}
],
"allowedSelectors": [
{
"publisherDomain": "<string>",
"selectionType": "all",
"label": "<string>",
"propertyIds": [
"<string>"
],
"propertyTags": [
"<string>"
]
}
]
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Authorizations
API key or access token
Path Parameters
Ad server source connection id. The wire field remains esaId for API compatibility.
0 < x <= 9007199254740991123
Response
List publisher properties for an ad server source
Show child attributes
Show child attributes
The coverage selectors this source has recorded and will accept on a product. Declare inventory.publisher_properties from these rather than deriving a domain from properties: publisher_domain must match the parent domain in an advertised selector, while a property's own identifiers may name a represented site instead. Selector availability depends on the source record, not publisher verification.
Show child attributes
Show child attributes