read
ads

Get Google Ads KPIs (spend, conversions, ROAS, CPA) for the store over the requested window, plus the top campaigns by s

Changed on

Get Google Ads KPIs (spend, conversions, ROAS, CPA) for the store over the requested window, plus the top campaigns by spend with their per-campaign metrics. Use to answer ad-performance questions or compare ad health across windows.

post/api/v1/tools/get_ad_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
      Scopesads:read

Request body

object required
days, integer

Look-back window in days (default 30).

campaign_limit, integer

How many campaigns to return ranked by spend (default 15).

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