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. Thehref
property is alwaysnull
.
'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.