read
ads

The search terms that triggered the store's ads, one row per term per ad group per day, newest first, for a date range (

Changed on

The search terms that triggered the store's ads, one row per term per ad group per day, newest first, for a date range (default 30 days, at most 400): impressions, clicks, spend, conversions, conversion value, the matched keyword and whether it was already added as a negative. Every row is reachable by paging — the Search terms page aggregates these same rows per term. Every result carries freshness per platform (as_of = the newest sync, stale past the platform threshold). A platform the store has not connected is refused with error: "not_connected" and whose it is — never an empty list. Paged: pass page.next_cursor back as cursor while page.has_more is true.

post/api/v1/tools/ads_list_search_terms

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
      Scopesads:read

Request body

object 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
min_cost, number

Only rows with at least this spend (account currency).

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