Skip to main content
PUT
Update targeting

Authorizations

X-API-Key
string
header
required

Preferred authentication method. Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Path Parameters

offer_id
integer
required

Offer ID.

Body

application/json
strict_targeting
enum<integer>
Available options:
0,
1
gt_included_ids
string

Comma-separated allowed geoname IDs.

gt_excluded_ids
string

Comma-separated denied geoname IDs.

extended_targeting
string

JSON extended targeting rules.

Response

Targeting updated.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string