Name | Modifier & Defaults | Type | Description |
|---|---|---|---|
os_targeting | Default: | Targeting Object
| A list of operating systems to target/exclude for the campaign. See: OS Targeting |
The os_targeting field is updated directly via the campaigns endpoint - and the targeted collection is stored directly in the value property:
{
// other Campaign fields...
"os_targeting": {
"type": "INCLUDE",
"value": [
{
"os_family": "Android",
"sub_categories": []
},
{
"os_family": "iOS",
"sub_categories": [
"iOS_9",
"iOS_10"
]
}
],
"href": null
}
}
To target specific versions of an operating system, include thesub_categoriesproperty. If omitted,sub_categorieswill include all versions.
The
hrefproperty is alwaysnull.
The API will not attempt to validate the combined targeting for platform, OS and browser. (If the targeted combination does not exist, the campaign will not display.)
