Adds the same 3rd party tracking code to multiple placements in a single batch request.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/tracking-code/placement/add/batch.do
Adds the same 3rd party tracking code to multiple placements in a single batch request. Each placement in the domainIds array receives the same tracking code for the specified country. If a tracking code already exists for a given placement-country pair, it will be overwritten. The response is a JSON map keyed by placement ID, where each value is an object with a 'success' boolean indicating the result for that placement.
Form Params
domainIdsarray<integer>required
Array of unique numeric placement identifiers 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 each placement and the specified country