Permanently deletes a specific piggyback tracking pixel identified by its unique ID. The piggyback is removed from the campaign and will no longer fire during ad serving. The caller must have update permissions on the parent campaign and the Piggyback Pixel Tracking permission. Returns a JSON object with a 'success' boolean indicating whether the deletion succeeded.
Path Params
idintegerrequired
The unique numeric identifier of the piggyback tracking pixel to delete
701
Responses
200
Campaign piggyback deleted successfully
400
Bad request — invalid or missing parameters
401
Unauthorized - authentication error
403
Forbidden - no rights on the campaign, or the Piggyback Pixel Tracking permission is not enabled
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://YOUR-NETWORK-DOMAIN/rest-api/piggyback/campaign/701.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());