Retrieves all action (conversion) capping rules configured for a specific campaign, identified by its numeric ID.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/action-capping.do
Retrieves all action (conversion) capping rules configured for a specific campaign, identified by its numeric ID. The response is a JSON array of capping objects, each containing id, amount, period, periodType, evenDistribution and subject fields. Returns an empty array when the campaign has no action capping rules, and 404 for a missing campaign. Requires UPDATE permission and the MANAGE_CAPPING_AND_LIMITATIONS privilege.
Path Params
campaignIdintegerrequired
Numeric ID of the campaign whose action capping rules should be retrieved
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/campaign/2001/action-capping.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());