Targeting
Contextual Segments CPM estimates
Get CPM estimates for contextual segments
post/contextual_segments/cpm_estimate
Request
- Base URLhttps://api.mediamath.com/api/v3.0
- AuthOAuth 2Authorization codehttps://auth.mediamath.com/authorizeToken URLhttps://auth.mediamath.com/oauth/tokenScopesoffline_access, manage:services
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
extendedboolean
Get extended properties in response
Request body
Example request
{
"currency_code": "USD",
"include": [
{
"segments": [
{
"targeting_segment_id": 67
}
]
}
],
"exclude": {
"segments": [
{
"targeting_segment_id": 76
}
]
}
}Response
CPM estimate response
Example response
{
"data": {
"segments": [
{
"id": 3,
"uniques": 12345
}
]
},
"meta": {
"status": "success"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.