retargeting.group.combinations.update
Update attributes of combination in Group
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) Managed user ID
|
|
} |
|
|
array |
combinations ( |
Retargeting combinations in group
|
struct |
{ |
|
int |
combinationId |
Retargeting combination ID
|
int |
cpc |
(optional) (can be null) Combination maximal cost per click (in halers)
|
int |
cpt |
(optional) (can be null) Combination maximal cost per thousand impressions (in halers)
|
string |
status |
(optional) Status of Retargeting combination in Group:
-
active :
active
-
suspend :
paused
|
|
} |
|
|
|
) |
|
|
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 updated combinations in Group
|
|
} |
|
|
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:
cpt_too_high
cpt_too_low
drtg_cannot_be_set
floating_invalid_targeting
group_access_denied
group_retargeting_cpc_out_of_range
retargeting_combination_not_exist
retargeting_combination_not_found
simple_ads_invalid_targeting
user_access_denied