Connect Google Merchant Center to your Wiro AI agent
Products, statuses, account issues and data sources in Google Merchant Center.
Why are so many of our products disapproved in Merchant Center, and what's the fix for each problem?
In Inkfold Stationery, 141 of 1,236 products are disapproved for Shopping ads in the US, all from three item issues:
- Price mismatch, 64 products: the price on the product pages differs from the feed, so make the two match
- Page not found, 49 products: their links return errors; fix the links or remove the items
- Image too small, 28 products: upload larger photos
Fixing the prices first clears almost half.
Overview
What Google Merchant Center does for your agent
Covers the standalone, advanced and sub-accounts your Google sign-in can open, limited to the ones you select. The agent counts active, pending and disapproved products per destination and country, reads item and account issues with Google's help links, runs performance and price competitiveness reports, and inserts, updates or deletes products. Those product writes go through an API data source, so for items that come from a file feed it lists the edits to make there instead.
Use cases
What your Wiro agent can do with Google Merchant Center
- 01
A morning product status summary by country
Each morning, a Scheduled Task counts your active, pending, disapproved and expiring products per destination and country, lists each item issue with the number of products it affects, and posts what changed since yesterday in Chat.
- 02
Disapproved products explained, with the fix for each
Ask why products were disapproved. The agent reads each item issue with its detail and help link, groups the products by cause, such as a missing GTIN or a price mismatch, and proposes a fix. Products in an API data source it updates once you approve; for a feed file, it lists the exact edits to make.
- 03
A weekly account issue check with what to fix first
Once a week, the agent checks account-level issues such as an unverified website or missing shipping or tax settings, with their severity, the regions affected and Google's help link, and tells you in Chat which ones to fix first.
- 04
Product clicks and prices next to Google's benchmark
Ask for last month's clicks, impressions and click-through rate per product, and how your prices compare with the benchmark prices Google sees for the same products. The agent lists products priced well above the benchmark next to their click-through rate, so you can decide where a price test is worth it.
- 05
New products added from a spreadsheet
Share a list of new products with titles, prices, links, images and GTINs. The agent creates an API data source if you have none, inserts each product, then checks a few minutes later which ones were approved and which have issues to fix.
- 06
Sale prices set and cleared around a promotion
Before a sale, give the agent the products, the sale price and the dates. It sets the sale price and its effective dates on each product in your API data source and clears them again afterwards, so nobody has to edit product data by hand on the day the sale ends.
How it works
How Google Merchant Center works with Wiro
- 01
Connect Google Merchant Center
Deploy an agent, open its Connectors tab, choose Google Merchant Center and sign in with your Google Merchant Center account.
- 02
Choose what each action may do
Set each Google Merchant Center action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask in Chat or schedule it
Ask your agent for Google Merchant Center work in Chat, or put it on a Scheduled Task that runs on its own.
- Where it runsInside your agent. Its requests go straight from the agent to Google Merchant Center.
- Where its data goes
merchantapi.googleapis.com - How it signs inSign in to Google Merchant Center with your own app.
- AccountsAfter connecting, pick the Merchant Center accounts the agent may work with. It cannot reach any other.
What it can do
Actions your Wiro agent can take in Google Merchant Center
By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.
Read-only 8 actions
Looks things up in Google Merchant Center and changes nothing.
List Merchant Center accounts
Lists the Merchant Center accounts the connected Google account can open (standalone, advanced and sub-accounts): account ID, name, time zone and language.
Chat AllowScheduled Tasks Allow
List Merchant Center products
Lists the processed products of one account (the final data after every data source and rule): offer ID, language, feed label, title, link, price, availability, brand, and the status per destination with item issues.
Chat AllowScheduled Tasks Allow
Get a Merchant Center product
Gets one processed product by offer ID, language and feed label: every attribute, custom attributes, the data source, and the full status per destination with each item issue's detail and help link.
Chat AllowScheduled Tasks Allow
List Merchant Center data sources
Lists the data sources of one account: ID, display name, input, type, feed label, language and countries.
Chat AllowScheduled Tasks Allow
List Merchant Center account issues
Lists the account-level issues of one account, such as an unverified website or missing tax or shipping settings: title, severity, the destinations and regions affected, detail and help link.
Chat AllowScheduled Tasks Allow
Summarize Merchant Center product statuses
Counts the products of one account per destination and country: active, pending, disapproved and expiring, with each item issue (code, severity, resolution, attribute, description) and how many products it affects.
Chat AllowScheduled Tasks Allow
Search Merchant Center reports
Runs a Merchant Center Query Language report on one account.
Chat AllowScheduled Tasks Allow
Read other Google Merchant Center data
Reads what the actions above do not cover, straight from the Google Merchant Center API.
Chat AllowScheduled Tasks Allow
Create and send 1 action
Creates or sends something new in Google Merchant Center, such as a post, a message or an email.
Create a Merchant Center API data source
Creates a primary product data source of input type API in one account.
Chat AskScheduled Tasks Allow
Change and delete 4 actions
Changes or deletes what is already in Google Merchant Center.
Insert or replace a Merchant Center product
Inserts a product input into an API data source of one account, or replaces the input with the same offer ID, language and feed label in that data source.
Chat AskScheduled Tasks Allow
Update a Merchant Center product
Changes some attributes of a product input in an API data source, leaving the others as they are.
Chat AskScheduled Tasks Allow
Delete a Merchant Center product
Deletes a product input from an API data source.
Chat AskScheduled Tasks Allow
Make other Google Merchant Center changes
Sends any other change straight to the Google Merchant Center API.
Chat AskScheduled Tasks Allow
How to connect
Connect Google Merchant Center to Wiro
Open the agent's Connectors tab, choose Google Merchant Center and sign in with your account. The consent screen shows what the agent can reach.
What the Connect dialog asks for
| Field | About |
|---|---|
| OAuth Client IDRequired |
|
| OAuth Client SecretRequired | Google shows the Client secret only once, in the dialog that opens when you create the client: copy it there, or click Download JSON to keep it in a file. After you close that dialog, Google never shows it again. If you no longer have it, open your client in Google Auth Platform → Clients, click Add secret and copy the new secret the same way. When nothing uses the old secret any more, Disable it and delete it. |
Troubleshooting
Troubleshooting Google Merchant Center
What to check when Google Merchant Center stops working for your agent.
- Your own app's sign-in fails Check your app's settings in Google Merchant Center: the redirect URL shown in the Connect dialog must be added there, and the client secret you pasted must be the app's current one. Then sign in again.
- Access revoked in Google Merchant Center If the access is removed in Google Merchant Center, or the sign-in can no longer renew, the connection reads Reconnect needed. Open the agent's Connectors tab, choose Google Merchant Center and Reconnect.
- Limits set by Google Merchant Center Google Merchant Center limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your Google Merchant Center plan.
For developers
Connect Google Merchant Center from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "google-merchant-center" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "google-merchant-center", "title": "Google Merchant Center", "category": "commerce", "authtype": "provider-oauth", "credentialfields": [ { "name": "clientid", "label": "OAuth Client ID", "required": true, "secret": false, "format": "text" }, { "name": "clientsecret", "label": "OAuth Client Secret", "required": true, "secret": true, "format": "password" } ], "accountpickers": [ { "key": "accounts", "label": "Merchant Center accounts", "multiple": true } ], "tools": [ { "name": "list_accounts", "readonly": true }, { "name": "list_products", "readonly": true } ] } ] } - 02
Start the sign-in
Connect answers with the vendor's sign-in page. Open it in the browser of the person who owns the account.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-merchant-center", "mode": "oauth", "values": { "clientid": "YOUR_CLIENTID", "clientsecret": "YOUR_SECRET" }, "redirecturl": "https://your-app.example.com/connectors/return" }Response { "result": true, "errors": [], "status": "pending", "authorizeUrl": "https://vendor.example.com/oauth/authorize?client_id=...&state=..." } - 03
Come back to your page
After the consent screen the browser returns to your redirect URL with the outcome in its query. Read the status next; the query is only a reason to look.
Your redirect URL https://your-app.example.com/connectors/return?connector_connected=true https://your-app.example.com/connectors/return?connector_error=authorization_denied - 04
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "google-merchant-center", "title": "Google Merchant Center", "authtype": "provider-oauth", "status": "connected", "accounts": {}, "savedvariables": [ "clientid", "clientsecret" ], "lasterror": null } ] } - 05
List the accounts
After connecting, list what the agent may use. It cannot reach anything else.
POST /UserAgent/ConnectorAccounts { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-merchant-center" }Response { "result": true, "errors": [], "pickers": [ { "key": "accounts", "label": "Merchant Center accounts", "multiple": true, "candidates": [ { "id": "1234567890", "name": "Example account" } ], "selected": [] } ] } - 06
Save the accounts
Every id is checked against a fresh list, then the agent uses them, with no restart for most changes.
POST /UserAgent/ConnectorSetAccounts { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-merchant-center", "accounts": { "accounts": [ "1234567890" ] } }Response { "result": true, "errors": [], "restart": "scheduled" } - 07
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-merchant-center" }Response { "result": true, "errors": [], "removed": true, "revoked": true, "restart": "scheduled" }
Questions
Google Merchant Center and Wiro FAQ
What can a Google Merchant Center AI agent handle?
It lists your products with their status per destination and their item issues, counts active, pending and disapproved products, lists account issues and data sources, and runs Merchant Center reports on product performance, price competitiveness and price insights. It can insert, update and delete products in an API data source, create such a source, and change other settings the Merchant API offers, such as shipping, business information, promotions and local inventory. A Scheduled Task can automate Merchant Center checks such as a daily feed summary.
How do I connect Google Merchant Center to an AI agent?
Pick Google Merchant Center from your agent's list of Connectors, or ask for it in a Chat message. Merchant Center signs in through an OAuth app in your Google Cloud project. Turn on the Merchant API, add the content scope, set up a Web application OAuth client that uses the redirect URI the Connect dialog gives you, and register the Cloud project once with your primary Merchant Center account. Paste the ID and secret of that client, sign in as a Google user who can open your Merchant Center accounts, and select the ones the agent may use. Keep the app In production so the sign-in does not lapse after 7 days.
Which products can the agent change?
Products in an API data source: it inserts them, changes some attributes while leaving the rest, clears attributes such as a sale price, and deletes them. A change made this way stays until that product input is changed again, even if a feed is uploaded. For products that come from a file or spreadsheet feed, the agent can list the exact edits to make there.
How long until a product change shows up?
Merchant Center processes product data before it shows, which usually takes a few minutes, so a product inserted moments ago may not appear yet. Google's review for ads and free listings can take longer. Ask the agent to check the status again later rather than send the same change twice.
Will the agent change product data without asking?
Not in Chat by default: reading products, issues and reports runs without asking, while inserting, updating or deleting products, creating a data source and other setting changes wait for your approval. A Scheduled Task, by default, makes those changes without waiting, so give them Ask or Block on the Scheduled Tasks side if someone should check each one first. Allow, Ask and Block are chosen per action, for Chat and for Scheduled Tasks separately.
Does it work with advanced accounts and sub-accounts?
Yes. When the sign-in finishes, the connector lists the standalone accounts, advanced accounts and sub-accounts your Google account can open, and you decide which ones the agent may use. The product status summary covers standalone accounts and sub-accounts, and on an advanced account the issue list shows the parent's own issues only.
Where is the Merchant Center sign-in kept, and is there a charge?
The Google sign-in for Merchant Center is stored encrypted and never handled by the AI model; the client's ID and secret matter only during sign-in. The connector adds nothing to your agent plan's price, and Merchant API calls are free on Google's side. You will not need a Merchant Center MCP server either, since the connector works from inside your agent.
Access
Revoke Google Merchant Center access
Remove the app's access in your Google Merchant Center account's connected apps settings, then disconnect it here.
Related connectors
More commerce connectors for your Wiro agent
Put Google Merchant Center to work with Wiro
Deploy an agent and connect Google Merchant Center from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.