read
merchant

Run an arbitrary read-only Merchant Center reports query (Merchant Query Language) — the Merchant analog of GAQL. Tables

Changed on

Run an arbitrary read-only Merchant Center reports query (Merchant Query Language) — the Merchant analog of GAQL. Tables: product_view, product_performance_view, price_competitiveness_product_view, best_sellers_product_cluster_view, competitive_visibility_competitor_view, etc. Example: "SELECT offer_id, clicks, impressions FROM product_performance_view WHERE date BETWEEN '2026-06-01' AND '2026-06-30' ORDER BY clicks DESC". Queries the Google Merchant API reports service, see https://developers.google.com/merchant/api/guides/reports/query-language

post/api/v1/tools/merchant_run_report

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

Request body

object required
query, string required

A Merchant Query Language SELECT query.

limit, integer

Max rows (default 500).

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