Restrictions Context¶
This object allows lists of restrictions on ad responses to be specified including specific content categories, advertisers, ads pertaining to specific apps, or creative attributes.
Value |
Type |
Description |
---|---|---|
bcat |
array of strings |
Block list of content categories using IDs from the taxonomy indicated in
|
cattax |
int |
The taxonomy in use for
|
badv |
array of strings |
Block list of advertisers by their domains (e.g., |
bapp |
array of strings |
Block list of apps for which ads are disallowed. These should be bundle or
package names (e.g., |
battr |
array of int |
Blocked list of creative attributes:
|
ext |
object |
Additional restriction options, see Restrictions Extension |
Restrictions Extension¶
Value |
Type |
Description |
---|---|---|
addcat |
array of objects |
Passes additional taxonomies and categories |
Additional Categories¶
Value |
Type |
Description |
---|---|---|
bcat |
array of strings |
Block list of content categories using IDs from the taxonomy indicated in
|
cattax |
int |
The taxonomy in use for
|
Restrictions JSON Example¶
{
"restrictions":{
"cattax":1,
"bcat":[
"IAB24",
"IAB25",
"IAB26"
],
"ext":{
"addcat":[
{
"cattax":501,
"bcat":[
"bsw1",
"bsw2"
]
},
{
"cattax":3,
"bcat":[
"some_product",
"example_block"
]
}
]
},
"badv":[
"example.com",
"example_1.com"
]
}
}