Listing target Adgroup - Location
URL
Method: GET
Request Params fix value
When call API, please send params with fix value (always send in API)
Param
Required
Value
_token
yes
.........
_user_id
yes
1210044026
_account_id
yes
1210044026
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
type
yes
207
fields
yes
Hard value: IMPRESSION,LOCATION_NAME
filter
yes
[{"campaign_id":{"equals":"xxxxxx"}}]. "xxxxxx" is ID of the Adgroup
Example API
https://tiki.ants.vn/v3/api/location/performance?limit=10&page=1&format=grid&from_date=24%2F08%2F2020&to_date=06%2F09%2F2020&type=207&_token=z2s2w254d4u4x28454o2t2r2x2y233x266z2o5v294k574a4t244v2v29454&_user_id=1600033588&_account_id=1600033588&fields=impression,location_name&d_pro=1&filter=[{%22campaign_id%22:{%22equals%22:%226666080401%22}}]Response parameters
Name
Description
day
Date
lineitem_id
The ID of the Campaign.
campaign_id
The ID of the Adgroup
location_id
The ID of the Location
location_name
Location name
cpc_bid_price
Bid price
status
impression
Count of how often your ad has appeared on a search results page
Status 200
{
  "code": 200,
  "message": "Success",
  "data": {
    "total_records": 5,
    "rows": [
      {
        "location_id": "996",
        "impression": "4670",
        "sum_impression": "80299",
        "row_count": "5",
        "row_num": "5",
        "lineitem_id": "6666077837",
        "campaign_id": "6666080401",
        "network_id": "84529",
        "location_name": "Khu vực miền Bắc",
        "location_type": "4",
        "cpc_bid_price": "3000",
        "cpm_bid_price": "--",
        "status_id": "1",
        "status": "Normal",
        "payment_model": "1",
        "bid_price": "3000",
        "ctime": "Feb 25, 2020 21:33:07",
        "utime": "Jun 26, 2020 10:23:05",
        "package_id": "0"
      }
    ]
  },
  "request_id": "4b689c65-4a36-4a8e-a442-e8f77dffcb3a"
}Last updated
Was this helpful?