Targeting
Add and View Targeting
Add and view targeting
post/targeting
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.
Request body
Example request
{
"strategy_id": [
87
],
"targeting": {
"audience": {
"include": [
{
"audience_segment_ids": [
32
]
}
],
"exclude": [
{
"audience_segment_ids": [
32
]
}
]
},
"contextual": {
"include": [
{
"target_value_ids": [
33
]
}
],
"exclude": [
{
"target_value_ids": [
3
]
}
]
},
"my_data": {
"include": {
"pixel_bundle_ids": [
88
]
},
"exclude": {
"pixel_bundle_ids": [
32
]
}
},
"location": {
"include": [
{
"target_value_ids": [
33
]
}
],
"exclude": [
{
"target_value_ids": [
3
]
}
]
},
"technology": {
"include": [
{
"target_value_ids": [
33
]
}
],
"exclude": [
{
"target_value_ids": [
3
]
}
]
},
"day_parts": [
{
"start_hour": 1,
"end_hour": 5,
"days": [
"M",
"T",
"W",
"S",
"U"
]
}
]
}
}Response
Add and view response
Changes
No recorded changes to this operation across all 1 revision of this API.