Get effective campaign tracking configuration
curl --request GET \
--url https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/tracking-config \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/tracking-config"
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/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",
"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",
"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": {}
}
}Campaigns
Get effective campaign tracking configuration
Resolve campaign-local trackers together with current advertiser defaults. The response identifies inherited trackers, effective enabled state, override reasons, orphaned overrides, and advertiser/campaign revisions.
GET
/
campaigns
/
{campaignId}
/
tracking-config
Get effective campaign tracking configuration
curl --request GET \
--url https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/tracking-config \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/tracking-config"
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/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",
"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",
"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
Minimum string length:
1Example:
"cmp_987654321"
Response
Get effective campaign tracking configuration
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
⌘I