Get Statistic Targeting
Target Category and target Keyword
URL
Request Params fix value
When call API, please send params with fix value (always send in API)
Param
Required
Value
_state
yes
app.report.detail
_token
yes
_user_id
yes
1210044026
data_source_type
yes
2
format
yes
grid
Request parameters
Param
Required
Description
from_date
No
Start date get data statistic (example: 26/02/2020). Default is last 7 days
to_date
No
End date get data statistic (example: 03/03/2020). Default is yesterday.
limit
No
Default 10 row
page
No
Default: 1
metrics
yes
Hard value: IMPRESSION,CLICK,CTR,PROCEEDS
segments
yes
if get data target Category, send value:
CAMPAIGN_NAME,SECTION_NAME,CAMPAIGN_ID,SECTION_ID
if get data target Keyword, send value:
DAY,LINEITEM_ID,CAMPAIGN_ID,KEYWORD_NAME
Example API Target Category
https://tiki.ants.vn/v3/admin/api/report/performance?_pid=21232f297a57a5a743894a0e4a801fc3&_state=app.report.detail&_token=&_user_id=1210044026&compare=false&data_source_type=2&fc=sort&format=grid&from_date=28%2F02%2F2020&limit=30&metrics=IMPRESSION,CLICK,CTR,ECPC_VAT,PROCEEDS&page=1&segments=CAMPAIGN_NAME,SECTION_NAME,CAMPAIGN_ID,SECTION_ID&to_date=05%2F03%2F2020
Example API Target Keyword
https://tiki.ants.vn/v3/admin/api/report/performance?_pid=21232f297a57a5a743894a0e4a801fc3&_state=app.report.detail&_token=&_user_id=1210044026&compare=false&data_source_type=2&fc=sort&format=grid&from_date=28%2F02%2F2020&limit=30&metrics=IMPRESSION,CLICK,CTR,ECPC_VAT,PROCEEDS&page=1&segments=DAY,LINEITEM_ID,CAMPAIGN_ID,KEYWORD_NAME&to_date=05%2F03%2F2020
Response parameters
Name
Description
day
Date
campaign_id
The ID of the Ad Group
section_id
The ID of the Category
section_name
The Name of the Category
keyword_name
Keyword
proceeds
The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period. (campaign spend (cost))
click
The number of clicks.
impression
Count of how often your ad has appeared on a search results page
ecpc_vat
The total cost of all clicks divided by the total number of clicks received. (avg. cpc)
Last updated
Was this helpful?