Enables action tracking for the specified campaign, allowing CPA-based conversion tracking.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/enable-actions.do
Enables action tracking for the specified campaign, allowing CPA-based conversion tracking. The caller must have UPDATE permission on the campaign's advertiser and the MANAGE_ACTION_TRACKING permission. Campaign pricing is not required: actions are tracked and counted without it, and a CPA price for them is set through the campaign pricing endpoints.
Path Params
campaignIdintegerrequired
Unique identifier of the campaign to enable actions for
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://YOUR-NETWORK-DOMAIN/rest-api/campaign/2001/enable-actions.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());