read
ads

The store's declared ad credits and, for each active one, the plan that spends it before it expires. Platform promotiona

Changed on

The store's declared ad credits and, for each active one, the plan that spends it before it expires. Platform promotional credit (for example a Google Ads promotion) is lost on its expiry date if it is not spent. The Google Ads API does not return promotions, so a credit is declared in Magistry from the Billing page and re-declared when Billing shows a new consumed amount. Each plan has remaining, days_left, required_avg_per_day, today_target, run_rate_7d, status (behind, on_track, ahead, exhausted, past_deadline), projected_unspent_at_run_rate, capped_unallocated and curve_source (keyword_search_volume or flat), the daily targets (days: date, weight, target) and weekly totals (weeks, ISO weeks, always over the whole plan). Daily weights follow the store's month index of search demand times event multipliers. The targets are a plan, not a budget write: nothing here changes a campaign. Every plan carries phase: a spend-to-earn promotion not yet earned is phase earn, with threshold_amount, spent_toward_threshold, remaining_threshold, progress_pct, earn_deadline, daily_floor (the least the account must spend per day; days[].target is the floor), behind_by, projected_shortfall_at_run_rate, at_stake (the credit lost if the threshold is missed) and status (on_track, ahead, behind, projected_miss, unread: no Billing reading or synced spend for 7 days, forfeited). A credit whose plan could not be read carries plan null and plan_error.

post/api/v1/tools/ads_credit_pacing

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
status, 'active' | 'exhausted' | 'expired' | 'withdrawn' | 'all'

Which credits to list; default active.

days, integer

Show the daily targets for the first N days of each plan; default all. Weekly totals are always the whole plan.

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