read
ads

Ad groups, ads or keywords (`level`) of the store's campaigns, optionally one campaign: status, bids and budgets as sync

Changed on

Ad groups, ads or keywords (level) of the store's campaigns, optionally one campaign: status, bids and budgets as synced; keywords also carry quality score and their synced performance window. 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_entities

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
level, 'ad_group' | 'ad' | 'keyword' required
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

Magistry campaign id (from ads_list_campaigns).

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