retargeting.emails.addEmail
Add emails to email retargeting list.
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) Managed user ID
|
|
} |
|
|
struct |
params { |
|
int |
retargetingListId |
Id of the email retargeting list in which will be the emails added
|
array |
emails ( |
|
string
|
|
|
email appended into selected email retargeting list
|
|
) |
|
|
string |
provider |
(optional) Name of provider who edited the 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
|
|
} |
|
|
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
retargeting_list_not_found
rus_process_is_already_running
user_access_denied