Skip to main content
GET
Get ad analytics

Request contract

  • Method and path: GET /apis/v1/ads/{adId}/analytics
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/ads/{adId}/analytics
  • adId: path; required
  • connectionId: query; required
  • fromDate: query; optional
  • toDate: query; optional
  • breakdowns: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation. Ad spend is billed separately by the ad platform to your connected ad account.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

adId
string
required

Query Parameters

connectionId
string
required

The ads connection (adc_...) the request runs on: one of yours, from GET /apis/v1/ads/connections. On a request with a JSON body it may be sent as a top-level body member instead.

Pattern: ^adc_[0-9A-Za-z]+$
fromDate
string<date>

Start of date range (YYYY-MM-DD). Defaults to 90 days ago.

toDate
string<date>

End of date range (YYYY-MM-DD). Defaults to today. Max 730-day range.

breakdowns
string

Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region, platform_position, impression_device, video_asset, image_asset, body_asset, title_asset.

Response

Ad analytics

ad
object
analytics
object
backfillPending
boolean

Meta only. Present and true while historical data is being backfilled.