Create Campaign targeting


                https://api.ocamba.com/api/v1/adex/targeting
            

Creates a new Campaign targeting object


Name
Description
browserobject

Name
Description
idnumber
Browser id supported by the Ocamba platform.


Example: 12

opstring



Example: exact

Possible values: exact | min_version

Default: exact

versionarray
Array of browser versions supported by the Ocamba platform.


Example: 78

categoryobject

Name
Description
itemarray
Array of category codes supported by the Ocamba platform, max 100 items.


Example: IAB1,IAB1-1,IAB1-2

listarray
Array of list ids, created on the Ocamba platform, max 10 items.


Example: 1231,3213

opstring



Example: include

Possible values: include | exclude

Default: include

connectionobject

Name
Description
itemarray
Array of connection ids supported by Ocamba platform. Supported connection: * Unknown (id 0) * Ethernet (id 1) * Wi-Fi (id 2) * Cellular Network – Unknown Generation (id 3) * Cellular Network – 2G (id 4) * Cellular Network – 3G (id 5) * Cellular Network – 4G (id 6)


Example: 0,1,2

Possible values: 0 | 1 | 2 | 3 | 4 | 5 | 6

opstring



Example: include

Possible values: include | exclude

Default: include

containersobject

Name
Description
item[ string ]
Array of containers ids, maximum number of items depends on a purchased plan.

opstring



Example: include

Possible values: include | exclude

Default: include

countryobject

Name
Description
itemarray
Array of country codes supported by the Ocamba platform (ISO 3166-1, 2 letter country codes), max 250 items.


Example: RS,US,JP

listarray
Array of list ids, created on the Ocamba platform, max 10 items.


Example: 12,131

opstring



Example: include

Possible values: include | exclude

Default: include

device_manufacturerobject

Name
Description
itemarray
Array of devices ids supported by the Ocamba platform, max 100 items.


Example: 5,4,2

opstring



Example: include

Possible values: include | exclude

Default: include

device_trackingobject

Name
Description
is_turned_onnumber
Describes a status of device tracking.

Possible values: 0 | 1

device_typeobject

Name
Description
itemarray
Array of device types supported by the Ocamba platform (mobile/desktop).


Example: mobile

opstring



Example: include

Possible values: include | exclude

Default: include

has_user_dataobject

Name
Description
is_turned_onnumber
Describes a status of user data.

Possible values: 0 | 1

ipobject

Name
Description
itemarray
Array of IPs, max 100 items. Each element must be a valid ipv4, ipv6 or a cidr format for both v4 and v6.


Example: 123.523.123.4,123.523.123.4/12,2001:0db8:85a3:33a1:ff12:8a2e:0370:7334/23,2301:01b8:f5a3:43a1:afc2:8c2e:0370:7334

listarray
Array of list ids, created on the Ocamba platform, max 10 items.


Example: 193

opstring



Example: include

Possible values: include | exclude

Default: include

languageobject

Name
Description
item[ string ]
Array of unique strings. Each element must be a valid 2-letter language code supported by Ocamba platform, maximum number of items limited by the subscription plan.

opstring



Example: include

Possible values: include | exclude

osobject

Name
Description
idnumber
Os id supported by the Ocamba platform.


Example: 12

opstring



Example: exact

Possible values: exact | min_version

Default: exact

versionarray
Array of os versions supported by the Ocamba platform.


Example: 1.5

publisherobject

Name
Description
itemarray
Array of zone ids created on the Ocamba platform, max 100 items.


Example: 123413,6242163

opstring



Example: include

Possible values: include | exclude

Default: include

referrerobject

Name
Description
itemarray
Array of domains, max 100 items.


Example: 4231,5341

listarray
Array of list ids, created on the Ocamba platform, max 10 items.


Example: 193

opstring



Example: include

Possible values: include | exclude

Default: include

subidobject

Name
Description
itemarray
Array of subids, max 100 items.


Example: fut_t10_18-24-MULTI_GG

listarray
Array of list ids, created on the Ocamba platform, max 10 items.


Example: 193

opstring



Example: include

Possible values: include | exclude

Default: include

subscribed_ageobject

Name
Description
fromstring
Description for from.


Example: 10

time_unitstring
Description for time unit.


Example: day

Possible values: day | hour

Default: day

tostring
Description for to.


Example: 15

tagobject

Name
Description
item[ string ]
Array of tag ids, maximum number of items depends on a purchased plan. This field is deprecated and will be removed in future. Please use container as a replacement.

opstring



Example: include

Possible values: include | exclude

Default: include

timeobject

Name
Description
item[ string ]
Array of strings, max 7 unique items, where each item must be a valid cron expression.

opstring



Example: include

Possible values: include

Default: include

trafficobject

Name
Description
itemarray
Array of traffic ids supported by the Ocamba platform. Supported connection: * RON (id 0) * IAS (id 1) * INJECTION (id 2) * TOSPV (id 3) * DoubleVerify (id 4) * Forensiq (id 5) * POP (id 6) * IN APP (id 8)


Example: 1,2,3

Possible values: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

opstring



Example: include

Possible values: include | exclude

Default: include

user_dataobject

Name
Description
itemarray
Array of strings, max 100 items.

opstring



Example: include

Default: include
200 Arrow
{
	"campaign_id": "1008894",
	"ip": null,
	"country": {
		"item": ["ES", "IL", "MN"],
		"op": "exclude",
		"list": [1, 10, 431]
	},
	"browser": [{
			"id": 12,
			"op": "exact",
			"version": ["74.0"]
		},
		{
			"id": 17,
			"op": "exact",
			"version": ["40.0", "38.0"]
		}
	],
	"traffic": {
		"item": [2, 3, 7],
		"op": "exclude"
	},
	"device_tracking": {
		"is_turned_on": "1"
	},
	"device_type": {
		"item": ["mobile"],
		"op": "include"
	},
	"time": {
		"item": ["0 10,11,12 * * 5,6", "0 14 1 * *"],
		"op": "include"
	},
}