themes.negative.readReport
Read report specified by id. Amount of data that you can get at once is limited.
Amount of data is counted as number_of_wanted_entities * number_of_periods_for_one_entity.
You can get data limit by method api.limits in parameter statsDataLimit.
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) Managed user ID
|
|
} |
|
|
string |
reportId |
report id
|
struct |
displayOptions { |
Customize output
|
bool |
allowEmptyStatistics |
(optional) Return empty statistics [default: false]
|
array |
displayColumns ( |
show following entity attributes
|
string
|
|
|
column name:
-
categoryId :
negative theme category id
-
createDate :
create date
-
deleted :
is insterest deleted?
-
deleteDate :
ad's delete date
-
id :
negative theme id
-
group.id :
Group's id
-
group.name :
Group's name
-
group.deleted :
Is group deleted?
-
group.createDate :
Group's create date
-
group.deleteDate :
Group's delete date
-
group.maxCpc :
maximum cpc for group's targeting
-
group.maxCpt :
maximum cpt(Cost per Thousand) for group's targeting
-
campaign.actualClicks :
Actual clicks for campaign
-
campaign.createDate :
Campaign's create date
-
campaign.deleteDate :
Campaign's Deletion date
-
campaign.deleted :
Is campaign deleted?
-
campaign.endDate :
Campaign's end date
-
campaign.id :
Campaign's id
-
campaign.name :
Campaign's name
-
campaign.startDate :
Campaign's start date
-
campaign.totalBudgetFrom :
Date from which total money budget is counting.
-
campaign.totalClicksFrom :
Date from which total click budget is counting.
-
campaign.totalClicks :
Total clicks for campaign
|
|
) |
|
|
|
} |
|
|
Response
struct |
{ |
|
array |
report ( |
|
struct |
{ |
|
int |
categoryId |
(optional) negative theme category id
|
datetime |
createDate |
(optional) create date
|
datetime |
deleteDate |
(optional) delete date
|
bool |
deleted |
(optional) is negative theme deleted?
|
int |
id |
(optional) negative theme id
|
struct |
group { |
(optional)
|
datetime |
createDate |
(optional) create date
|
bool |
deleted |
(optional) is group deleted?
|
datetime |
deleteDate |
(optional) delete date
|
int |
id |
(optional) group id
|
string |
name |
(optional) group name
|
int |
maxCpc |
(optional) maximum cpc for group's targeting
|
int |
maxCpt |
(optional) maximum cpt(Cost per Thousand) for group's targeting
|
|
} |
|
|
struct |
campaign { |
(optional)
|
int |
actualClicks |
(optional) Actual clicks
|
datetime |
createDate |
(optional) create date
|
bool |
deleted |
(optional) is campaign deleted ?
|
datetime |
deleteDate |
(optional) Deletion date
|
datetime |
endDate |
(optional) Campaign end date
|
int |
id |
(optional) campaign id
|
string |
name |
(optional) Campaign name
|
datetime |
startDate |
(optional) Campaign start date
|
datetime |
totalBudgetFrom |
(optional) Date from which total money budget is counting.
|
int |
totalClicks |
(optional) Total clicks
|
datetime |
totalClicksFrom |
(optional) Date from which total click budget is counting.
|
|
} |
|
|
|
} |
|
|
|
) |
|
|
int |
reportId |
id of report
|
string |
statusMessage |
verbal description of return code
|
string |
session |
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:
cache_id_not_exist
invalid_theme_category_id
theme_access_denied
user_access_denied
wrong_param_value