Browse the help center

Set site CPM thresholds

Sets or updates the CPM threshold configuration for the specified site.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/sites/{siteId}/cpm-thresholds.do

Sets or updates the CPM threshold configuration for the specified site. The request body is a JSON object containing a default cpmThreshold value and an optional array of per-country CPM thresholds (ISO 3166 country code to threshold value mappings). Existing per-country thresholds are replaced entirely. Requires ENABLED level on both MANAGE_PRICING and CPM_PRICING_TYPE permissions.

Path Params

siteId integer required

Unique numeric ID of the site

5001

Body

A JSON body. An example, built from the field definitions:

{
  "cpmThreshold": "0.50"
}

Responses

200

CPM thresholds updated successfully

400

Bad request — invalid or missing parameters

401

Authentication error

403

Insufficient permissions

404

Not found — resource does not exist

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.