Connection Type Targeting

You can target specific connection types for a given campaign.

πŸ“˜

Currently supports a single value: "WIFI".

Use the Dictionary to fetch a list of available connection types:
resources/campaigns_properties/connection-type

Updating

Use the campaigns endpoint to update the connection_type_targeting field:

{
   "connection_type_targeting": {
      "type": "INCLUDE",
      "value": [
         "WIFI"
      ]
   }
}
{
   // other Campaign fields...
   "connection_type_targeting": {
      "type": "INCLUDE",
      "value": [
         "WIFI"
      ],
      "href": null
   }
}

πŸ“˜

The value property stores the targeted collection. The href property is always null.

🚧

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

Fetching

Fetch the relevant campaign (using the use the campaigns endpoint) and check the value property of the connection_type_targeting field.