read
analytics

Daily ad performance per campaign, ad group or ad (`level`) for a date range (default the last 30 days, at most 400): im

Changed on

Daily ad performance per campaign, ad group or ad (level) for a date range (default the last 30 days, at most 400): impressions, clicks, spend, conversions and conversion value as the platform reported them, in the ad account's currency, newest day first. Sum the rows of a campaign over the Ads page's window to get the page's figure. freshness gives the newest day each platform has reported. Paged: pass page.next_cursor back as cursor while page.has_more is true.

post/api/v1/tools/ads_get_performance

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesanalytics:read

Request body

object required
level, 'campaign' | 'ad_group' | 'ad' required
date_from, string date
date_to, string date
platform, 'google' | 'meta' | 'microsoft' | 'reddit' | 'tiktok' | 'pinterest' | 'openai' | 'applovin' | 'taboola' | 'criteo' | 'amazon' | 'bol' | 'outbrain' | 'snapchat' | 'linkedin' | 'x' | 'stackadapt'

One ad platform. Omitted: every platform this store has connected.

campaign_id, string uuid
cursor, string

The page.next_cursor of the previous page.

limit, integer

Page size, default 25.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision