API ReferenceAnnouncementsCommunity Discussion
API ReferenceCommunity DiscussionAnnouncementsSubscribeLog In
API Reference

browser_targeting

NameModifier & DefaultsTypeDescription
browser_targetingDefault:
Targeting Object with type = ALL and value = [] (empty collection)
Targeting Object

The targeting object should contain the list of targeted browser families. See the example below.

Note: Use the Dictionary to fetch an up-to-date list of possible values.
List of browsers to target/exclude.

See: Browser Targeting

Note: 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.)

The browser_targeting field is updated directly via the campaigns endpoint - and the targeted collection is stored directly in the value property:

{
   "id": "1234",
   //...
   "browser_targeting": {
      "type": "INCLUDE",
      "value": [
         "Chrome",
         "Yandex"
      ],
      "href": null
   }
}

📘

The href property is always null.

🚧

'Patching' is not supported. Submitted values overwrite any existing ones.

🚧

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.)