Delete buyer advertiser mapping
curl --request DELETE \
--url https://api.interchange.io/api/v2/storefront/esa/{esaId}/buyer-advertiser-mappings/{mappingId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/esa/{esaId}/buyer-advertiser-mappings/{mappingId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/storefront/esa/{esaId}/buyer-advertiser-mappings/{mappingId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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
Delete buyer advertiser mapping
Delete an existing buyer-to-GAM advertiser routing mapping for a Google Ad Manager-backed ad server source.
DELETE
/
esa
/
{esaId}
/
buyer-advertiser-mappings
/
{mappingId}
Delete buyer advertiser mapping
curl --request DELETE \
--url https://api.interchange.io/api/v2/storefront/esa/{esaId}/buyer-advertiser-mappings/{mappingId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/esa/{esaId}/buyer-advertiser-mappings/{mappingId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/storefront/esa/{esaId}/buyer-advertiser-mappings/{mappingId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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
Buyer advertiser mapping id.
Minimum string length:
1Example:
"map-abc"
Response
No content