Adds or replaces a 3rd party tracking code for the specified placement and country combination.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/tracking-code/placement/add.do
Adds or replaces a 3rd party tracking code for the specified placement and country combination. If a tracking code already exists for the same placement and country, it will be overwritten with the new value. Use country code '*' to set a global tracking code that fires for all countries. Returns a JSON object with a 'success' boolean indicating whether the operation completed successfully.
Form Params
domainIdintegerrequired
The unique numeric identifier of the placement to add the tracking code to
4001
countrystringrequired
ISO country code to target (e.g., 'US', 'GB'), or '*' to set a global tracking code that applies to all countries
US
codestringrequired
The HTML tracking code snippet to be injected during ad serving for the specified country