GET Account Campaigns Breakdown
Returns performance metrics for a Rokt Ads advertiser account's total activity for a given time period, time zone, and currency. By default, the result is broken down by campaign, but you may also break out activity by country or partner source.
#
DescriptionCall this API endpoint to receive account-level data broken down by camapignid
for a specified time period, time zone, and currency. The attributes that may be called through the "groupby" parameter include:
- country;
- partner-source.
#
RequestPath
GET /reporting/accounts/{accountId}/campaigns/breakdown
Parameters
Name | Type | In | Description | Required | Example |
---|---|---|---|---|---|
dateStart | String | query | Start time of the requested date/time range | true | dateStart=2020-03-01T00:00:00.000 |
dateEnd | String | query | End time of the requested date/time range | true | dateEnd=2020-03-31T23:59:59.000 |
currency | Enum: AUD CAD EUR GBP JPY NZD SGD USD KRW CNY | query | Currency code in which you will receive monetary metrics | true | currency=USD |
timeZoneVariation | Enum: America/Chicago Pacific/Honolulu Australia/Sydney | query | Desired time zone can in Olson format | true | timeZoneVariation=Australia/Sydney |
accountId | String | path | Your Rokt Account ID. Found in One Platform or provided by your account manager. | true |
#
Response200 OK
{ "groupByValue": "string", "grossCost": 0, "netCost": 0, "impressions": 0, "uniqueSessions": 0, "referrals": 0, "campaignCountries": 0, "campaigns": 0, "acquisitionsByConversionDate": 0, "acquisitionsByReferralDate": 0, "creatives": 0, "Audiences": 0, "campaignName": "string"}