Advanced Performance Reporting

You need to use Token, for more details, please check token

Description of the time for pulling report data: The data will be available about 5 hours after the day. It is recommended to pull it after 5 am the next day.

Example: Suppose you pull the data of August 1st in UTC+0, and the data can be retrieved after 5:00 am on August 2 in UTC+0.

Request Address

https://scaler.taurusx.com/openapi/performance_data

Request Method

GET

Request Parameters

FieldRequiredTypeDescriptionDefaultExample
timezoneOptionalstringTimezone+0+0
report_typeOptionalstringType of report statistics, event|requesteventevent
start_timeRequiredstringThe start time of the requested data, in the format of "yyyy-MM-dd". Supports querying for the past week.——"2023-04-23"
end_timeRequiredstringThe end time of the requested data, in the format of "yyyy-MM-dd". Supports querying for the past week.——"2023-04-24"
dimension_optionRequiredstringEnum field names: "Campaign", "Adgroup", "Creative", "AdType", "Country". Separate with commas for multiple fields.
dimension_option=>"Campaign", Segment data by Campaign ID;
dimension_option=>"Adgroup", Segment data by Adgroup ID;
dimension_option=>"Creative", Segment data by Creative ID;
dimension_option=>"AdType", Segment data by Ad Type;
dimension_option=>"Country", Segment data by country (two-letter country code).
——Campaign,Country

Response Results

NameParent NodeTypeDescription
codeint200 means success, others mean failure
datajsonResult list
data_listdataarray<json>
datedata_liststringDate
campaign_iddata_liststringCampaign ID
campaign_namedata_liststringCampaign Name
adgroup_iddata_liststringAdgroup ID
adgroup_namedata_liststringAdgroup Name
creative_iddata_liststringCreative ID
creative_namedata_liststringCreative Name
ad_typedata_liststringCreative type:image,nativeImg,video,videoEndCard,html,videoHtml
countrydata_liststringCountry Code
impressionsdata_listnumberImpressions
clicksdata_listnumberClicks
conversionsdata_listnumberConversions
costdata_listnumberCost , in US dollars
  • Response example
JSON
{
    "code": 200,
    "data": {
        "data_list": [
            {
                "date": "2023-10-20",
                "campaign_id": 100115,
                "campaign_name": "Test name",
                "adgroup_id": 1000228,
                "adgroup_name": "Test name",
                "creative_id": 10001116,
                "creative_name": "Test name",
                "ad_type": "image",
                "country": "BR",
                "clicks": 118.0,
                "conversions": 0.0,
                "cost": 0.293090625116,
                "impressions": 298.0
            },
            {
                "date": "2023-10-21",
                "campaign_id": 100115,
                "campaign_name": "Test name",
                "adgroup_id": 1000228,
                "adgroup_name": "Test name",
                "creative_id": 10001117,
                "creative_name": "Test name",
                "ad_type": "video",
                "country": "BR",
                "clicks": 104.0,
                "conversions": 0.0,
                "cost": 0.08020019578,
                "impressions": 214.0
            },
        ]
    }
}
{
    "code": 200,
    "data": {
        "data_list": [
            {
                "date": "2023-10-20",
                "campaign_id": 100115,
                "campaign_name": "Test name",
                "adgroup_id": 1000228,
                "adgroup_name": "Test name",
                "creative_id": 10001116,
                "creative_name": "Test name",
                "ad_type": "image",
                "country": "BR",
                "clicks": 118.0,
                "conversions": 0.0,
                "cost": 0.293090625116,
                "impressions": 298.0
            },
            {
                "date": "2023-10-21",
                "campaign_id": 100115,
                "campaign_name": "Test name",
                "adgroup_id": 1000228,
                "adgroup_name": "Test name",
                "creative_id": 10001117,
                "creative_name": "Test name",
                "ad_type": "video",
                "country": "BR",
                "clicks": 104.0,
                "conversions": 0.0,
                "cost": 0.08020019578,
                "impressions": 214.0
            },
        ]
    }
}