Adds or replaces a 3rd party tracking code for the specified banner and country combination.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/tracking-code/banner/add.do
Adds or replaces a 3rd party tracking code for the specified banner and country combination. If a tracking code already exists for the same banner 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 banner to add the tracking code to
5001
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