Refresh managed ad-server account choices
curl --request POST \
--url https://api.interchange.io/api/v2/storefront/account-mappings/sources/{inventorySourceId}/refresh \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/account-mappings/sources/{inventorySourceId}/refresh"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/storefront/account-mappings/sources/{inventorySourceId}/refresh', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"inventorySourceId": "<string>",
"reconciliationState": "complete",
"attemptGeneration": 4503599627370495,
"listed": 4503599627370495,
"observed": 4503599627370495,
"archived": 4503599627370495,
"authoritative": true,
"truncated": true,
"diagnosticCode": "<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
Refresh managed ad-server account choices
Refresh the authenticated, bounded advertiser roster for one managed Google Ad Manager or FreeWheel inventory source. Other managed providers and modular sources fail closed.
POST
/
account-mappings
/
sources
/
{inventorySourceId}
/
refresh
Refresh managed ad-server account choices
curl --request POST \
--url https://api.interchange.io/api/v2/storefront/account-mappings/sources/{inventorySourceId}/refresh \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/storefront/account-mappings/sources/{inventorySourceId}/refresh"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/storefront/account-mappings/sources/{inventorySourceId}/refresh', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"inventorySourceId": "<string>",
"reconciliationState": "complete",
"attemptGeneration": 4503599627370495,
"listed": 4503599627370495,
"observed": 4503599627370495,
"archived": 4503599627370495,
"authoritative": true,
"truncated": true,
"diagnosticCode": "<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
Response
Refresh managed ad-server account choices
Available options:
complete, incomplete Required range:
0 < x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Which limit stopped an incomplete attempt. INCOMPLETE_LISTING is the source answering with a partial roster; ROSTER_DRAIN_TIMED_OUT is Scope3's time limit, not a source fault. Null on a complete attempt.