Listing Adgroup
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
200
fields
yes
Hard value: IMPRESSION
Example API
https://tiki.ants.vn/v3/api/campaign/performance?limit=10&page=1&format=grid&from_date=24%2F08%2F2020&to_date=06%2F09%2F2020&type=200&_token=z2s2w254d4u4x28454o2t2r2x2y233x266z2o5v294h524h564z254s2d4c4&_user_id=1600033588&_account_id=1600033588&_lang=vi&fields=impressionResponse parameters
Name
Description
day
Date
campaign_id
The ID of the Adgroup.
lineitem_id
The ID of the Campaign.
impression
Count of how often your ad has appeared on a search results page
Status 200
{
  "code": 200,
  "message": "Success",
  "data": {
    "total_records": 8196,
    "rows": [
      {
        "campaign_id": "12314749241",
        "impression": "31937",
        "sum_impression": "41597",
        "row_count": "10",
        "row_num": "1",
        "network_id": "84529",
        "lineitem_id": "12314696434",
        "payment_model": "1",
        "camp_payment_model": "CPC",
        "campaign_type_id": "1123",
        "ads_id": "1600033588",
        "status": "Eligible",
        "package_id": "0",
        "status_id": "52",
        "total_budget": "9999999999",
        "daily_budget": "500000",
        "lineitem_status": "Eligible",
        "lineitem_status_id": "52",
        "click_url": "--",
        "cpc_bid_price": 0,
        "cpm_bid_price": "--",
        "min_price": "200",
        "channels": [
          {
            "channel_id": "3",
            "channel_name": "ADX",
            "logo": "adx.png"
          }
        ],
        "ext_campaign_id": [
          {
            "channel_id": "3",
            "ext_campaign_id": "12314749241"
          }
        ],
        "ext_user_id": [
          {
            "channel_id": "3",
            "ext_user_id": "1600033588"
          }
        ]
      }
    ]
  }
}Last updated
Was this helpful?