Set whether a placement's tracking code fires without an ad
Switches whether the placement's third-party tracking code is also emitted on a request the ad server did not fill with an ad.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/tracking-code/placement/fire-without-ad.do
Switches whether the placement's third-party tracking code is also emitted on a request the ad server did not fill with an ad. A default code (passback) does not count as a fill: with this off the snippet goes out only on a response carrying a creative. Read it back with GET /rest-api/tracking-code/placement/fire-without-ad.do.
Form Params
idintegerrequired
The unique numeric identifier of the placement
4001
enabledbooleanrequired
Whether the tracking code also fires on a request the ad server did not fill with an ad
true
Responses
200
Operation result with success status
400
Bad request — invalid or missing parameters
401
Authentication error
403
The role lacks the PLACEMENT_THIRD_PARTY_TRACKING permission, or no UPDATE share on the placement
404
No such placement, or tracking codes are not enabled for it