Suggest CPM floor rate
Calculates a suggested CPM floor rate for a campaign type, operating system, and geo targeting configuration.
https://YOUR-NETWORK-DOMAIN/rest-api/floorCPMs/suggest.do Calculates a suggested CPM floor rate for a campaign type, operating system, and geo targeting configuration. The suggested rate is computed from all floor rates matching the query; the advertiser must exist and be visible to the caller but does not change the rate. Country codes in the 'geo' parameter can be prefixed with '-' to exclude those countries instead of including them. Returns HTTP 404 if the advertiser, campaign type, or matching CPM rates cannot be found.
Query Params
campaignType string required
Self-serve campaign type. Accepts enum name or integer ID for backward compatibility
BANNER_DESKTOP advertiser integer required
Unique numeric identifier of an advertiser the caller can view. Checked for existence and access only; the suggested rate does not depend on it
1001 os string
Comma-separated operating system names or IDs (e.g. 'WINDOWS,ANDROID' or '1,5'). When omitted, all operating systems are included.
WINDOWS,ANDROID geo string
Comma-separated ISO 3166-1 alpha-2 country codes (e.g. 'US,GB,DE'). Prefix the entire value with '-' to exclude those countries instead of including them. Use '0' or '*' for global targeting. When omitted, all countries are included.
US,GB Responses
200
JSON object with 'SuggestedCPM' key containing the calculated floor rate value
400
Missing or invalid required parameters
401
Authentication error - invalid hash, timestamp, or username
403
No VIEW share on the advertiser
404
Advertiser not found, campaign type not recognized, or no matching CPM rates exist
500
Internal server error during rate calculation