Get ad server source sandbox-account readiness
curl --request GET \
--url https://api.interchange.io/api/v2/storefront/esa/{esaId}/sandbox-account \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/esa/{esaId}/sandbox-account"
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}/sandbox-account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"esaId": "<string>",
"tenantId": "<string>",
"ready": true,
"account": {
"accountId": "<string>",
"name": "<string>",
"status": "<string>",
"advertiserMapped": true,
"operator": "<string>",
"brand": {},
"billing": "<string>",
"gamAdvertiserId": "<string>",
"gamAdvertiserName": "<string>",
"buyerAgentPrincipalId": "<string>",
"sandbox": true
},
"accounts": [
{
"accountId": "<string>",
"name": "<string>",
"status": "<string>",
"advertiserMapped": true,
"operator": "<string>",
"brand": {},
"billing": "<string>",
"gamAdvertiserId": "<string>",
"gamAdvertiserName": "<string>",
"buyerAgentPrincipalId": "<string>",
"sandbox": true
}
],
"missingReason": "<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": {}
}
}Storefront Ad Server Buyer Routing
Get ad server source sandbox-account readiness
Read the tenant-managed sandbox advertiser account readiness for no-spend buyer-stack tests against an ad server source.
GET
/
esa
/
{esaId}
/
sandbox-account
Get ad server source sandbox-account readiness
curl --request GET \
--url https://api.interchange.io/api/v2/storefront/esa/{esaId}/sandbox-account \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/esa/{esaId}/sandbox-account"
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}/sandbox-account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"esaId": "<string>",
"tenantId": "<string>",
"ready": true,
"account": {
"accountId": "<string>",
"name": "<string>",
"status": "<string>",
"advertiserMapped": true,
"operator": "<string>",
"brand": {},
"billing": "<string>",
"gamAdvertiserId": "<string>",
"gamAdvertiserName": "<string>",
"buyerAgentPrincipalId": "<string>",
"sandbox": true
},
"accounts": [
{
"accountId": "<string>",
"name": "<string>",
"status": "<string>",
"advertiserMapped": true,
"operator": "<string>",
"brand": {},
"billing": "<string>",
"gamAdvertiserId": "<string>",
"gamAdvertiserName": "<string>",
"buyerAgentPrincipalId": "<string>",
"sandbox": true
}
],
"missingReason": "<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.
Required range:
0 < x <= 9007199254740991Example:
123
Response
Get ad server source sandbox-account readiness
Readiness of the ESA tenant-managed sandbox advertiser account used for no-spend buyer tests.
Sandbox account row from the managed ad-server source tenant. Sandbox accounts route to the tenant-managed sandbox advertiser and do not carry a caller-selected GAM advertiser id.
Show child attributes
Show child attributes
Show child attributes
Show child attributes