curl --request PUT \
--url https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/tracking-config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/tracking-config"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/tracking-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"campaign_id": "<string>",
"advertiser_id": "<string>",
"custom_tracker_urls": [
{
"tracker_id": "trk_0123456789abcdef01234567",
"name": "DoubleVerify Impression",
"url": "https://tracker.doubleverify.com/pixel?id=123",
"tracker_type": "IMPRESSION",
"raw_url": "<string>",
"enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_event_name": "<string>",
"vendor_name": "HappyDemics",
"gvl_vendor_id": 550,
"source_dialect": "adcp",
"compiler_version": "<string>",
"mapping_artifact": {}
}
],
"tracker_overrides": [
{
"tracker_id": "trk_0123456789abcdef01234567",
"enabled": true
}
],
"effective_trackers": [
{
"tracker_id": "trk_0123456789abcdef01234567",
"name": "DoubleVerify Impression",
"url": "https://tracker.doubleverify.com/pixel?id=123",
"tracker_type": "IMPRESSION",
"raw_url": "<string>",
"enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"source_scope": "advertiser",
"inherited": true,
"effective_enabled": true,
"status_reason": "enabled",
"custom_event_name": "<string>",
"vendor_name": "HappyDemics",
"gvl_vendor_id": 550,
"source_dialect": "adcp",
"compiler_version": "<string>",
"mapping_artifact": {}
}
],
"orphaned_override_ids": [
"trk_0123456789abcdef01234567"
],
"advertiser_revision": 4503599627370495,
"campaign_revision": 4503599627370495,
"effective_revision": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"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": {}
}
}Update campaign tracker additions and overrides
Replace campaign-local trackers and/or enable-disable decisions for inherited advertiser tracker IDs. Advertiser defaults remain referenced rather than copied, so later advertiser updates flow through automatically.
curl --request PUT \
--url https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/tracking-config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/tracking-config"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/tracking-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"campaign_id": "<string>",
"advertiser_id": "<string>",
"custom_tracker_urls": [
{
"tracker_id": "trk_0123456789abcdef01234567",
"name": "DoubleVerify Impression",
"url": "https://tracker.doubleverify.com/pixel?id=123",
"tracker_type": "IMPRESSION",
"raw_url": "<string>",
"enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_event_name": "<string>",
"vendor_name": "HappyDemics",
"gvl_vendor_id": 550,
"source_dialect": "adcp",
"compiler_version": "<string>",
"mapping_artifact": {}
}
],
"tracker_overrides": [
{
"tracker_id": "trk_0123456789abcdef01234567",
"enabled": true
}
],
"effective_trackers": [
{
"tracker_id": "trk_0123456789abcdef01234567",
"name": "DoubleVerify Impression",
"url": "https://tracker.doubleverify.com/pixel?id=123",
"tracker_type": "IMPRESSION",
"raw_url": "<string>",
"enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"source_scope": "advertiser",
"inherited": true,
"effective_enabled": true,
"status_reason": "enabled",
"custom_event_name": "<string>",
"vendor_name": "HappyDemics",
"gvl_vendor_id": 550,
"source_dialect": "adcp",
"compiler_version": "<string>",
"mapping_artifact": {}
}
],
"orphaned_override_ids": [
"trk_0123456789abcdef01234567"
],
"advertiser_revision": 4503599627370495,
"campaign_revision": 4503599627370495,
"effective_revision": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"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 public campaign identifier
1"cmp_987654321"
Body
Campaign-local tracker additions and overrides of advertiser defaults
Last-read campaign_revision. Rejects concurrent tracking updates.
0 <= x <= 9007199254740991Campaign-local trackers added after inherited advertiser trackers
10Show child attributes
Show child attributes
50Show child attributes
Show child attributes
Response
Update campaign tracker additions and overrides
Response containing campaign-local tracker settings and the effective inherited set
Campaign tracker configuration plus the fully resolved inherited tracker set
Show child attributes
Show child attributes