Read whether a placement's tracking code fires without an ad
Whether the placement's third-party tracking code is also emitted on a request the ad server did not fill with an ad.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/tracking-code/placement/fire-without-ad.do
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. Returns a JSON object with 'fireWithoutAd'.
Query Params
idintegerrequired
The unique numeric identifier of the placement
4001
Responses
200
The current setting
400
Bad request — invalid or missing parameters
401
Authentication error
403
The role lacks the PLACEMENT_THIRD_PARTY_TRACKING permission, or no share on the placement
404
No such placement, or tracking codes are not enabled for it
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/tracking-code/placement/fire-without-ad.do?id=4001");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());