Returns the pricing configuration for the specified site, which may include fixed price (CPM/CPC/CPA with default and per-country rates) and/or revenue share (default share percentage with optional per-advertiser overrides).
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/sites/{siteId}/pricing.do
Returns the pricing configuration for the specified site, which may include fixed price (CPM/CPC/CPA with default and per-country rates) and/or revenue share (default share percentage with optional per-advertiser overrides). The fixed-price entry also carries minMarginType/minMarginValue for callers holding ENABLED or READONLY level on the MIN_MARGIN permission; without it those two fields are omitted. Requires ENABLED or READONLY level on the SITE_PAYMENT_MODEL permission.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/sites/5001/pricing.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());