retargeting.campaign.negative.add
Add retargeting negative combinations/lists to the campaign.
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) Managed user ID
|
|
} |
|
|
array |
items ( |
Retargeting combinations/lists in campaign
|
struct |
{ |
|
int |
entityId |
Retargeting combination/list ID
|
int |
campaignId |
ID of campaign
|
|
} |
|
|
|
) |
|
|
Response
struct |
{ |
|
int |
status |
Status code (see below)
|
string |
statusMessage |
Status code description
|
struct |
diagnostics { |
(optional) Additional information about processed request (see below)
|
} |
|
|
string |
session |
(optional) Refreshed session
|
int |
count |
(optional) Number of added retargeting combination IDs
|
|
} |
|
|
Response status codes:
List of all possible response status codes:
200: OK
206: Partially OK
301: User is serviced
400: Bad arguments
401: Invalid session
403: Access Denied
404: Not found
406: Bad values of attributes
413: Too many items requested.
429: Too many requests. Has to wait.
500: Server Error.
409: Conflict
Diagnostics:
List of all possible diagnostics:
campaign_access_denied
drtg_cannot_be_set
floating_invalid_targeting
list_or_combination_globally_removed
negative_list_or_combination_already_added
retargeting_list_or_combination_not_found
simple_ads_invalid_targeting
user_access_denied