Google Merchant Center MCP

io.github.A1-x-Tech由 GitHub 帳號 A1-x-Tech 發布v1.3.2更新於 Nov 7, 2026

MCP server for Google Merchant Center (Merchant API v1): products, promotions, reports, issues.

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

透過 Merchant API v1 把助理連接到 Google Merchant Center,可檢視商品、資料來源、促銷、報表與問題,並刻意修改商品資料。

可以做什麼
  • 列出並檢視帳戶、首頁認領狀態、運送設定與資料來源
  • 列出並讀取已處理商品、商品輸入以及商品層級的拒登問題
  • 在 API 資料來源中建立、局部更新與刪除商品輸入,並重新抓取檔案資料來源
  • 建立、列出與讀取促銷,包含各投放管道的審核狀態
  • 執行 MCQL 報表查詢,以及價格競爭力與價格建議的現成報表
  • 查看 API 配額用量、管理 OAuth 登入,並透過原始請求工具呼叫任意 Merchant API v1 路徑
適用情境
適合管理 Merchant Center 商品資料來源、希望助理說明商品為何被拒登、檢視資料來源與促銷,或查詢成效與價格報表的情境。也適合在確認具體變更後,需要修改 API 資料來源中價格或庫存的團隊。
執行需求
以 stdio 本機程序方式透過 npx 執行,需要 Node.js 20 以上。需要一個 Google Merchant Center 帳戶,以及已在 Merchant Center 註冊的 Google Cloud 專案。憑證可來自對話內 OAuth 登入(桌面應用程式用戶端 JSON 加瀏覽器授權),或來自 GOOGLE_MERCHANTS_CLIENT_ID、GOOGLE_MERCHANTS_CLIENT_SECRET 與 GOOGLE_MERCHANTS_REFRESH_TOKEN,也可使用事先取得的 GOOGLE_MERCHANTS_ACCESS_TOKEN。GOOGLE_MERCHANTS_ACCOUNT_ID 用於設定預設帳戶。
安裝前請注意
OAuth 用戶端密鑰與更新權杖可存取該 Merchant Center 帳戶,應視同密碼。寫入會變更線上資料來源:insert_product_input 會整筆覆蓋同 ID 的現有輸入,delete_product_input 與 raw_request 具破壞性且無法復原,重新抓取檔案資料來源會在 Google 端啟動工作。伺服器會傳送匿名使用遙測,包含工具名稱與去識別化的錯誤片段,可用 ASKADS_TELEMETRY=0 關閉。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Google Merchant Center MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[A1] Google Merchant Center MCP

English | Русский

[npm] [Glama] [CI] [License: MIT]

A1 Google Merchant Center MCP connects an AI app to your Google Merchant Center account. Find out why products are disapproved, inspect feeds and promotions, explore reports and market prices, then make deliberate changes to product data when you need to.

It works with the Merchant Center data behind Shopping listings: products, data sources, promotions and reports. Campaigns, budgets and bids belong to Google Ads and are outside this server.

  • 22 tools. 15 operations only read Merchant Center data; 5 write product, data-source or promotion data; 2 are potentially destructive.
  • Your Google access. The server uses your OAuth credentials and the Merchant API v1 — it does not create a separate Merchant Center account.
  • Source-aware changes. Product and promotion inputs can be changed only through an API data source. A file feed can be re-fetched, but its contents are not edited here.
  • Visible boundaries. Tools carry read-only, write or destructive metadata, so an AI client can distinguish an inspection from a live change.

Start with a read-only question:

Which products are disapproved, and what issues does Google report for each?

Connect the server · Explore use cases · Open technical documentation


See it work in a minute

You: Which products are disapproved, and what issues does Google report for each?

Assistant: Lists the affected products and explains the item-level issues that Merchant Center reports.

You: Show the current price and availability of product SKU-123, then prepare an availability update to in_stock.

Assistant: Shows the current product input, the API data source it belongs to and the exact change to make. It asks for confirmation before updating the live product input.

You: Confirm the update.

Assistant: Sends the update and explains that Merchant Center processes product data asynchronously. The processed product and its quality status can take several minutes to refresh.

Contents

Quick start

You need Node.js 20+, a Google Merchant Center account and a Google Cloud project registered with Merchant Center. OAuth credentials are not required at install time — the server connects from the conversation, see Getting access.

  1. Add the server to your AI app using one of the instructions below.
  2. Say "connect Google Merchant Center": the assistant walks you through the OAuth client and the browser consent, no config files and no restart.
  3. Ask the first read-only question above.
Codex

In the app:

  1. Open Settings → MCP servers.
  2. Select Add server.
  3. Choose STDIO, then enter the launch command npx -y mcp-google-merchants@latest and the four environment variables below.
VariableValue
GOOGLE_MERCHANTS_CLIENT_IDYour Google OAuth client ID
GOOGLE_MERCHANTS_CLIENT_SECRETYour Google OAuth client secret
GOOGLE_MERCHANTS_REFRESH_TOKENYour Google OAuth refresh token
GOOGLE_MERCHANTS_ACCOUNT_IDYour Merchant Center account ID
  1. Select Save, then Restart.

From the command line:

bash
codex mcp add google-merchants \  -- npx -y mcp-google-merchants@latest

Check the connection:

bash
codex mcp list

Codex MCP documentation

Claude Code
bash
claude mcp add \  --transport stdio \  --scope user \  google-merchants \  -- npx -y mcp-google-merchants@latest

Check the connection:

bash
claude mcp list

Claude Code MCP documentation

Claude Desktop

The current official path is Settings → Extensions. For a custom desktop extension, open Advanced settings → Extension Developer → Install Extension…, select a .mcpb file and follow the prompts.

This repository currently publishes an npm stdio package and does not contain a .mcpb bundle. For Claude Desktop builds that still support local configuration, use the following JSON stdio configuration as a fallback:

json
{  "mcpServers": {    "google-merchants": {      "command": "npx",      "args": ["-y", "mcp-google-merchants@latest"]    }  }}

In those builds, save it to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows.

Claude Desktop MCP documentation

Cursor

Add a user-level server to ~/.cursor/mcp.json on macOS/Linux or %USERPROFILE%\.cursor\mcp.json on Windows:

json
{  "mcpServers": {    "google-merchants": {      "type": "stdio",      "command": "npx",      "args": ["-y", "mcp-google-merchants@latest"]    }  }}

Cursor MCP documentation

VS Code

Run MCP: Open User Configuration from the Command Palette and add:

json
{  "servers": {    "google-merchants": {      "type": "stdio",      "command": "npx",      "args": ["-y", "mcp-google-merchants@latest"]    }  },  "inputs": [    {      "type": "promptString",      "id": "google_merchants_client_id",      "description": "Google OAuth client ID"    },    {      "type": "promptString",      "id": "google_merchants_client_secret",      "description": "Google OAuth client secret",      "password": true    },    {      "type": "promptString",      "id": "google_merchants_refresh_token",      "description": "Google OAuth refresh token",      "password": true    },    {      "type": "promptString",      "id": "google_merchants_account_id",      "description": "Merchant Center account ID"    }  ]}

Check the server with MCP: List Servers.

VS Code MCP documentation

What you can ask it to do

Find and understand catalog problems

  • Which products are disapproved, and what does Google report for each of them?
  • Show the title, price, availability and current status of product SKU-123.
  • Which products are out of stock?
  • Show the most frequent product issues for this Merchant Center account.

Explore performance and prices

  • Show clicks and impressions by product for July.
  • Which products are priced above the market benchmark in the United States?
  • What prices does Google suggest, and what impact does it predict?

Price comparisons and suggestions require the free Market Insights opt-in in Merchant Center. If the account has not opted in, the server explains why the report has no rows.

Inspect the account and feeds

  • List the Merchant Center accounts I can access.
  • Is the store homepage claimed? Show the current shipping settings.
  • List the product and promotion data sources, and identify an API data source.
  • Re-fetch this scheduled file feed now.

Make deliberate changes

  • Update the price and availability of this product in its API data source.
  • Create an API data source for a new product feed.
  • Create or update a promotion and then check its approval status.

For any request that changes data, first ask the assistant to show the target account, data source and exact fields it plans to change.

How Merchant Center data is connected

Merchant Center keeps the incoming data and the resulting product status separate:

  1. An account contains product and promotion data sources.
  2. A data source can be an API source, a file, a Google Sheet, the Merchant Center interface or an automatic feed.
  3. A product input is the product data supplied by one source.
  4. A processed product is what Merchant Center derives after processing that input. It includes eligibility and item-level issues.

The server can read every listed source type. It can create API data sources and update product inputs only in an API data source; it cannot write into a file, interface or automatic feed. To find products by condition, use a report query: list_products itself does not provide server-side filtering.

What can change

OperationWhat happensConfirmation boundary
Inspect accounts, products, feeds, promotions, reports, issues and quota useReads data from Merchant CenterDoes not change Merchant Center
Create an API data sourceAdds a source for product or promotion dataChanges the account
Update a product inputChanges selected product fields, such as price or availabilityChanges live source data
Insert a product inputReplaces the complete input with the same ID in that API source; using a different source moves the productChanges live source data
Re-fetch a file feedRequests an out-of-schedule fetch of a file or Google Sheets feedStarts asynchronous work at Google
Insert or update a promotionCreates or changes a promotionChanges live source data
Delete a product inputRemoves the input from the selected data sourceDestructive
Raw Merchant API requestCan access API methods without a dedicated toolPotentially destructive

The MCP client decides how it asks you to confirm write and destructive tools. The server marks its read-only, write and destructive operations so the client can present the right boundary.

Getting access

The server uses the Google Merchant API and the OAuth scope https://www.googleapis.com/auth/content. There are two ways to hand it credentials, and the first one needs no configuration files.

Connect from the chat (recommended)

Say "connect Google Merchant Center" and the assistant runs the flow with you:

  1. setup_instructions prints the checklist: create or select a Google Cloud project, enable Merchant API, configure the consent screen and create a Desktop app OAuth client.
  2. Download that client's JSON ("Download JSON") and give the assistant its path — set_client stores it owner-only. The secret never goes through the conversation.
  3. start_login returns a Google consent link. Open it on this machine and approve; the code comes back to a one-shot listener on 127.0.0.1 (PKCE), never through the chat.
  4. finish_login exchanges the code, saves the tokens to ~/.config/mcp-google-merchants/credentials.json (mode 0600) and verifies them with a real Merchant API call — so a project that is not registered with Merchant Center yet is caught right there.

The tokens are re-read on every call, so the connection works immediately — no restart of the AI app. auth_status shows what is connected, logout revokes and deletes it. The Cloud-project registration below is still required: it is a Merchant Center step, not an OAuth one.

Environment variables (CI, unattended installs)

  1. Create or select a Google Cloud project, enable Merchant API, and configure the OAuth consent screen.
  2. In Google Cloud, create an OAuth client of type Desktop app. Save its client ID and client secret.
  3. Authorize the Google account that has access to your Merchant Center and obtain a refresh token for the scope above. The OAuth 2.0 Playground can help with this step: enable Use your own OAuth credentials, enter the scope, authorize, then exchange the code for tokens.
  4. Find your Merchant Center account ID in Merchant Center and use it as GOOGLE_MERCHANTS_ACCOUNT_ID.
  5. Register the Google Cloud project with Merchant Center once. Google requires a production Merchant Center account with a verified website and an account administrator for this operation. The registration links one Cloud project to the Merchant Center account; until it is complete, Merchant API calls from that project are blocked. Follow Google’s developer registration guide.

The one-time registration is available through the technical raw_request tool, but it is safer to follow Google’s guide if this is your first Merchant API setup. Google may take up to five minutes to accept calls after registration.

Treat the OAuth client secret and refresh token as passwords. They are kept in the MCP client configuration and can grant access to the Merchant Center account.

Configuration

VariableRequiredDescription
GOOGLE_MERCHANTS_CLIENT_IDNo*OAuth 2.0 client ID.
GOOGLE_MERCHANTS_CLIENT_SECRETNo*OAuth 2.0 client secret.
GOOGLE_MERCHANTS_REFRESH_TOKENNo*OAuth refresh token with the Merchant API scope.
GOOGLE_MERCHANTS_ACCESS_TOKENNo*Short-lived access-token alternative to the three OAuth values above.
GOOGLE_MERCHANTS_ACCOUNT_IDNoDefault Merchant Center account ID. Individual requests can select another accessible account.
GOOGLE_MERCHANTS_OAUTH_PORTNoFixed loopback port for the in-chat login; useful over SSH port forwarding.
GOOGLE_MERCHANTS_API_BASENoMerchant API base URL override.
GOOGLE_MERCHANTS_TOKEN_URLNoOAuth token endpoint override.
GOOGLE_MERCHANTS_TIMEOUT_MSNoPer-request timeout in milliseconds; default is 60000.
GOOGLE_MERCHANTS_MAX_RETRIESNoMaximum retry count for temporary failures; default is 3.

* Use either the client ID, client secret and refresh token together, or a pre-minted access token. An access token usually expires in about one hour; a refresh token lets the server obtain a new access token when needed.

Data and telemetry

The server runs locally as a process started by your AI app. It sends Merchant Center requests to Google and refreshes OAuth access tokens through Google’s OAuth endpoint.

It sends anonymous usage telemetry to count active installations and tool demand: a random installation ID, package version, AI client and Node.js/operating-system versions, and the tool name. It never sends or stores OAuth tokens, Merchant Center data, tool arguments or prompts. For each tool call it also sends the outcome and, on failure, an excerpt of the error text with e-mails, addresses, tokens, numbers of 4+ digits and quoted text replaced by #; a value from your request can appear in it if the error text contains it. Disable this telemetry for A1 MCP servers with:

bash
ASKADS_TELEMETRY=0

Limits and background work

  • Merchant Center processing is asynchronous. A newly inserted, updated or deleted product input can take several minutes to appear in processed products. Product and promotion approval issues appear later, not as an immediate API error.
  • Market Insights is optional. Price competitiveness and suggested-price reports return data only after the account opts into the free Market Insights program.
  • Quotas depend on the account and API method. Check current consumption with list_method_quotas; Google’s daily counters reset at 12:00 UTC.
  • Temporary limits are handled cautiously. When Google returns 429, the server follows Retry-After when provided and makes a limited number of retries. It does not replay a write after an uncertain network or server failure.
  • There is no background monitoring. The server works only while an AI app calls it. If your AI app supports scheduled tasks, you can ask it to check product issues or quota use periodically.
  • Aggregated product issues have an account limitation. list_product_issues works for standalone and sub-accounts, not advanced parent accounts.

Technical documentation

Support

Found a bug or need a scenario? Create an issue or write in Telegram.


[Две Моны дают пять]

You made it to the end!

來源:README.md,提交 0e2dae1

工具

28

auth_status

Google connection status

Shows whether this server is connected to Google: token presence and source (env variables or a stored in-chat login), expiry, the Google account email, granted vs missing OAuth scopes, where the credentials file lives and where the OAuth client comes from. Makes no network calls and never returns the token itself. Call it first when other tools report the server is not connected.

無需輸入參數。

setup_instructions

Setup instructions

Step-by-step checklist for connecting this server to Google: creating a Google Cloud project and a Desktop-app OAuth client, publishing the consent screen (mandatory — Testing-mode refresh tokens die after 7 days), downloading the client JSON and handing its PATH to set_client. Works without any credentials; the checklist shortens to 'enable the API + log in' when an OAuth client is already configured (one client serves the whole mcp-google-* line). Never asks the user to paste secrets into the chat.

無需輸入參數。

set_client

Save the OAuth client

Saves the OAuth client credentials from the JSON file downloaded from Google Cloud Console ('Download JSON' on a Desktop-app client). Pass the file PATH — the secret must never be pasted into the chat. The client is stored once in the shared ~/.config/mcp-google-auth/client.json (owner-only) and reused by every mcp-google-* server; tokens stay per-server. After this, call start_login.

輸入參數path必填

start_login

Start the Google login

First step of connecting from the chat, without editing config files or restarting the client. Returns authorizeUrl — show it to the user as a clickable link and ask them to open it in the browser ON THIS MACHINE, pick the Google account and approve access. A one-shot listener on 127.0.0.1 catches Google's redirect; the code is exchanged locally and never passes through the chat. Does not open the browser itself. The attempt lives 10 minutes; when the browser shows the success page, call finish_login.

無需輸入參數。

finish_login

Finish the Google login

Second step: waits up to 20 s for the browser consent to finish, saves the tokens to an owner-only file and verifies the login with a read-only identity call, returning the account email and the granted scopes. After success every tool works immediately — no client restart. If the user granted only part of the requested permissions, the login is still saved and missingScopes lists what will not work. Logging in under a different Google account replaces the previous login (its refresh token is revoked best-effort) and the response carries previousAccountEmail so the change never goes unnoticed.

無需輸入參數。

logout

Disconnect from Google

Revokes the stored token at Google (oauth2.googleapis.com/revoke) and deletes the local credentials file. Tokens supplied via env variables are NOT touched — remove them from the MCP client config manually; envTokenStillSet in the response says whether any are still in effect.

無需輸入參數。

list_accounts

List Merchant Center accounts

Lists the Merchant Center accounts the authenticated user can access. Returns accounts[] (name, accountId, accountName, languageCode, timeZone, adultContent, testAccount) and nextPageToken. Use it first to discover the account ID the other tools need (or set GOOGLE_MERCHANTS_ACCOUNT_ID once). Optional filter uses the account filter syntax, e.g. accountName = "*store*".

輸入參數filterpage_sizepage_token

get_account

Get a Merchant Center account

Returns a single Merchant Center account: name (accounts/{id}), accountId, accountName, languageCode, timeZone, adultContent and testAccount. Useful to verify the configured account or inspect a sub-account.

輸入參數account

get_homepage

Get the store homepage

Returns the store homepage of an account: uri and claimed (whether the homepage is verified and claimed by the merchant — a prerequisite for serving offers). An unclaimed homepage is a common reason for account-level problems; claiming/unclaiming is not exposed as a tool (use raw_request POST accounts/v1/accounts/{a}/homepage:claim if you really need it).

輸入參數account

get_shipping_settings

Get shipping settings

Returns the account-level shipping settings: services[] (delivery countries, delivery times, rate tables and carrier rates), warehouses[] and an etag. Read-only by design: the API's only write is shippingSettings:insert, a FULL REPLACE of every service — too dangerous for a tool; use raw_request if you really need it.

輸入參數account

list_products

List processed products

Lists the processed products of an account, as shown in Merchant Center. Each product has name (accounts/{a}/products/{contentLanguage~feedLabel~offerId} — NO channel segment in v1), offerId, contentLanguage, feedLabel, dataSource, productAttributes (title, price, availability, ...), productStatus with itemLevelIssues, and base64EncodedName (use it when offerId contains URL-hostile characters like '/'). The list has no server-side filter — filter via search_reports on product_view. Recently inserted products appear only after async processing (minutes).

輸入參數accountpage_sizepage_token

get_product

Get a processed product

Returns one processed product including productStatus.itemLevelIssues (code, severity, resolution, description) — the place to see why a product is disapproved. Identify the product either with `product` ("contentLanguage~feedLabel~offerId", e.g. "en~US~sku123", or the base64url base64EncodedName; legacy local products use a local~ prefix) or with the three components content_language + feed_label + offer_id. A product inserted moments ago may 404 until async processing finishes (minutes).

輸入參數accountproductoffer_idfeed_labelcontent_language

insert_product_input

Insert or replace a product

Uploads (upserts) a product into an API data source: an existing input with the same contentLanguage~feedLabel~offerId in that data source is fully replaced. Requires data_source (an API-type source — create one with create_data_source or in Merchant Center; file feeds cannot be written). Inserting with a different data source MOVES the product to it. Returns the ProductInput (name, product = the future processed name, base64EncodedProduct). Processing is async: the processed product shows up in get_product/list_products after several minutes, and data-quality problems surface later in productStatus.itemLevelIssues, not as API errors. Prices go in product_attributes as {"price": {"amountMicros": "9990000", "currencyCode": "USD"}} (1 unit = 1,000,000 micros).

輸入參數accountoffer_id必填feed_label必填data_source必填version_numbercontent_language必填custom_attributesproduct_attributes

update_product_input

Update a product input

Sparse-updates an existing product input — the cheap way to change price or availability without re-sending the whole product. data_source must be the source holding the input. update_mask is a comma-separated list of attribute paths (e.g. "productAttributes.price,productAttributes.availability"); when omitted, all populated fields of the request are applied. Every path listed in update_mask MUST carry a value in this request — a masked path with no value ERASES that attribute (the tool rejects such requests locally; to clear an attribute intentionally use raw_request). Returns the updated ProductInput; the processed product refreshes after async processing (minutes). To create a product or replace it wholesale use insert_product_input.

輸入參數accountdata_source必填update_maskproduct_input必填version_numbercustom_attributesproduct_attributes

delete_product_input

Delete a product input

Deletes a product input from a specific data source (data_source is required — the same product can exist in several sources, and only the targeted input is removed). product_input is "contentLanguage~feedLabel~offerId" or the base64url name. Returns an empty object on success; the processed product disappears after async processing (minutes).

輸入參數accountdata_source必填product_input必填

list_data_sources

List data sources

Lists the data sources of an account. Each has name (accounts/{a}/dataSources/{id}), dataSourceId, displayName, input (API | FILE | UI | AUTOFEED), exactly one type object (primaryProductDataSource, supplementalProductDataSource, promotionDataSource, ...) and fileInput for file feeds. Use it to find the API-type data source that insert_product_input / insert_promotion require as data_source.

輸入參數accountpage_sizepage_token

get_data_source

Get a data source

Returns one data source by its numeric ID (or full resource name): type, input (API/FILE/UI/AUTOFEED), feed configuration and fetch settings. Check `input` before calling fetch_data_source — only file-based feeds with fetch settings can be re-fetched.

輸入參數accountdata_source必填

create_data_source

Create an API data source

Creates an API (generic) data source — the target that insert_product_input / update_product_input / insert_promotion need as data_source. Only API sources can be created through the API (file, UI and autofeed sources are set up in Merchant Center). For product sources content_language and feed_label must be both set or both omitted; countries applies to primary sources only. A promotions source requires target_country and content_language. Returns the created DataSource with its dataSourceId.

輸入參數type必填accountcountriesfeed_labeldisplay_name必填target_countrycontent_language

fetch_data_source

Re-fetch a file feed now

Triggers an immediate re-fetch (re-read) of a file-based feed outside its regular schedule. Works only for data sources with a file input and fetch settings (scheduled fetch or Google Sheets); calling it on an API-type source is an error. Returns an empty object on success — the fetch itself runs asynchronously on Google's side.

輸入參數accountdata_source必填

insert_promotion

Insert or update a promotion

Creates or updates a promotion. Unlike product writes, the data source travels in the request BODY (the server assembles it). The promotion object requires promotionId, contentLanguage (ISO 639-1), targetCountry (CLDR, e.g. "US") and redemptionChannel (array with ONLINE and/or IN_STORE — at least one). Optional `attributes` carry longTitle, couponValueType, offerType, genericRedemptionCode, promotionEffectiveTimePeriod {startTime, endTime}, productApplicability, moneyOffAmount, percentOff, etc. Returns the Promotion incl. promotionStatus; approval happens asynchronously (check get_promotion later).

輸入參數accountpromotion必填data_source必填

list_promotions

List promotions

Lists the promotions of an account: promotions[] (name, promotionId, contentLanguage, targetCountry, redemptionChannel, attributes, promotionStatus with destination statuses and itemLevelIssues) and nextPageToken.

輸入參數accountpage_sizepage_token

get_promotion

Get a promotion

Returns one promotion including promotionStatus (per-destination approval and itemLevelIssues) — the place to check whether a freshly inserted promotion was approved.

輸入參數accountpromotion必填

search_reports

Run an MCQL report query

Runs a Merchant Center Query Language (MCQL) query via reports:search. Tables: product_view, product_performance_view, price_competitiveness_product_view, price_insights_product_view, non_product_performance_view, best_sellers_product_cluster_view, best_sellers_brand_view, competitive_visibility_top_merchant_view, competitive_visibility_competitor_view, competitive_visibility_benchmark_view. Rules: field names are snake_case in the query but camelCase in the JSON response; no SELECT *; performance views require a WHERE date range, e.g. SELECT offer_id, clicks, impressions FROM product_performance_view WHERE date BETWEEN '2026-07-01' AND '2026-07-31' ORDER BY clicks DESC. price_* views require the Market Insights opt-in. Each result row has exactly one populated view object. This is also the way to FILTER products (product_view) — list_products has no filter.

輸入參數query必填accountpage_sizepage_token

price_competitiveness

Price competitiveness vs the market

Convenience wrapper over a canned MCQL query on price_competitiveness_product_view: for each product, your price vs the market benchmark_price (aggregated from comparable offers across merchants) with report_country_code. A product priced above the benchmark is losing clicks to cheaper rivals. Requires the account to be opted into Market Insights (free, in Merchant Center settings) — otherwise rows are empty. Price amounts are micros (1,000,000 = 1 unit) and may arrive as strings (int64). Optional country narrows to one report country.

輸入參數accountcountrypage_sizepage_token

price_insights

Suggested prices & predicted impact

Convenience wrapper over a canned MCQL query on price_insights_product_view: Google's suggested_price per product with the predicted change in impressions, clicks and conversions if you adopt it (predicted_*_change_fraction, e.g. 0.05 = +5%), plus an overall `effectiveness` bucket (LOW/MEDIUM/HIGH). Requires the Market Insights opt-in — otherwise rows are empty. Price amounts are micros and may arrive as strings (int64).

輸入參數accountpage_sizepage_token

list_product_issues

Aggregated product issues

Lists aggregate product statuses per reporting context and country (issueresolution sub-API): stats {active, pending, disapproved, expiring counts} plus itemLevelIssues[] with how many products each issue affects — the fastest way to see what is wrong with a feed at a glance. Works only for sub-accounts and standalone accounts, NOT for advanced (parent) accounts. The filter supports only reporting_context and country, e.g. reporting_context = "SHOPPING_ADS" AND country = "US". For a single product's issues use get_product (productStatus.itemLevelIssues).

輸入參數filteraccountpage_sizepage_token

list_method_quotas

API quota usage

Shows the account's Merchant API usage vs limits per method group (quota sub-API): quotaGroups[] with name, quotaUsage, quotaLimit (per day), quotaMinuteLimit and methodDetails[] listing the methods in each group. Daily counters reset at 12:00 UTC — midday, not midnight. Use it to diagnose HTTP 429 RESOURCE_EXHAUSTED errors and to see how much headroom is left.

輸入參數accountpage_sizepage_token

raw_request

Raw Merchant API call

Escape hatch to call any Merchant API v1 path directly, for endpoints without a dedicated tool (e.g. "accounts/v1/accounts/123/issues" or the one-time "accounts/v1/accounts/123/developerRegistration:registerGcp"). The path must include the sub-API prefix (accounts/v1, products/v1, datasources/v1, promotions/v1, reports/v1, issueresolution/v1, quota/v1, inventories/v1, ...). `query` adds URL query parameters (e.g. dataSource for productInputs writes, updateMask for PATCH); `body` is sent as JSON. Can create, modify and delete data — use the dedicated tools when one exists.

輸入參數bodypath必填querymethod

版本歷史

5
  1. v1.3.2最新Nov 5, 2026
  2. v1.3.1Oct 31, 2026
  3. v1.3.0Oct 31, 2026
  4. v1.2.0Sep 21, 2026
  5. v1.1.0Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分