themes.negative.check
Check negative themes for create or update process.
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) Managed user ID
|
|
} |
|
|
array |
themes ( |
|
struct |
{ |
|
int |
themeId |
(optional) Id of updated theme.
|
int |
groupId |
Group id, where the theme will be created
|
int |
categoryId |
Theme category id (see themes.listCategories function)
|
|
} |
|
|
|
) |
|
|
Response
struct |
{ |
|
int |
status |
Status code (see bellow)
|
string |
statusMessage |
Status code description
|
string |
session |
(optional) Refreshed session
|
array |
diagnostics ( |
(optional) Various diagnostics(warnings, errors, other information)
|
|
) |
|
|
|
} |
|
|
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:
bad_theme_category
entity_already_exists
floating_invalid_targeting
group_access_denied
group_theme_duplicity
invalid_theme_category_id
not_allowed_for_campaign_type
simple_ads_invalid_targeting
theme_access_denied
theme_cpc_is_too_low
theme_cpc_missing
theme_cpc_out_of_range
theme_invalid_status
theme_invalid_status_id
too_big_cpc
too_big_cpt
too_low_cpc
too_low_cpt
user_access_denied