Attach property list to campaign
curl --request POST \
--url https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/property-lists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"propertyListId": "1756"
}
'import requests
url = "https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/property-lists"
payload = { "propertyListId": "1756" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({propertyListId: '1756'})
};
fetch('https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/property-lists', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"campaignId": "<string>",
"propertyListId": "<string>",
"cascade": {
"totalMediaBuys": 4,
"updatedCount": 3,
"failedCount": 1,
"skippedCount": 4503599627370495
}
}{
"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": {}
}
}Property Lists
Attach property list to campaign
Retroactively push an advertiser-scoped include list to all active media buys in a campaign. Use when a list was created after media buys were already running. The list must be an include list configured for the campaign’s advertiser. Returns a cascade summary with counts of updated, failed, and skipped (no packages) media buys.
POST
/
campaigns
/
{campaignId}
/
property-lists
Attach property list to campaign
curl --request POST \
--url https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/property-lists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"propertyListId": "1756"
}
'import requests
url = "https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/property-lists"
payload = { "propertyListId": "1756" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({propertyListId: '1756'})
};
fetch('https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/property-lists', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"campaignId": "<string>",
"propertyListId": "<string>",
"cascade": {
"totalMediaBuys": 4,
"updatedCount": 3,
"failedCount": 1,
"skippedCount": 4503599627370495
}
}{
"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
Unique identifier for the campaign
Minimum string length:
1Example:
"cmp_987654321"
Body
application/json
The ID of the property list to attach to the campaign
Minimum string length:
1Example:
"1756"