retargeting.emails.create
Create email retargeting lists (type email).
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) Managed user ID
|
|
} |
|
|
array |
lists ( |
Array of email retargeting lists
|
struct |
{ |
|
string |
name |
Name of email retargeting list.
|
string |
description |
(optional) Description of email retargeting list.
|
|
} |
|
|
|
) |
|
|
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
|
array |
listIds ( |
(optional) list of created retargeting list 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:
email_retargeting_terms_and_conditions_not_granted
is_too_short
retargeting_list_count_limit
retargeting_list_name_contains_drtg
retargeting_list_name_unique
user_access_denied