Google Merchant accounts
Connect a Merchant Center account to send products through the API. The connection can serve multiple feeds. File and SFTP feeds do not need it: see Google delivery options.
What you need
Access to the Google Cloud console (opens in a new tab) and Admin access to Merchant Center.
Your Merchant Center account id, such as
1234567. In Merchant Center (opens in a new tab), press the account name at the top right: the id is listed as Merchant Center ID.
Make the key
In the Google Cloud console (opens in a new tab), choose a project in the top picker. To create one, press New project:
Give the project a name, such as Arlanix Docs, leave Parent resource as it is, and press Create:
After creation, select the new project in the picker. The console does not switch to it automatically.
Open APIs & Services → Library, search for merchant api and open Merchant API:
Press Enable:
Check that its status is Enabled:
Open IAM & Admin → Service accounts, with the project chosen, and press Create service account:
Enter a name such as Product Feed. Skip the optional Permissions and Principals with access, then press Create and close:
Copy the service account's email address for step 5:
Open the account, choose the Keys tab, then Add key → Create new key:
Leave Key type at JSON and press Create:
Keep the downloaded JSON file. It cannot be downloaded again; a lost key must be replaced.
In Merchant Center (opens in a new tab), open Settings → Access and services, and on its People and access tab press Add person under People:
Paste the service account's email from step 3, ending in
.iam.gserviceaccount.com, and press Next. It is also the key file'sclient_email:Tick Admin and press Add user. A user with less than Admin access cannot manage the account:
The service account is listed among the people, Verified:
Connect the account
Open the Arlanix menu and choose Google Merchant Account under Integrations:
Press Connect an account:
Fill in the form:
- Merchant Center account id: your account id, such as 123456789.
- Name: a label such as Main store. If empty, it becomes Merchant followed by the account id.
- Developer email: a person's Google account for Merchant API contact. For a production account, connecting asks Google to grant the API developer role. If Google invites the person, they must accept. Do not use the service account's email.
- Service account key: press Choose a key file and select the downloaded JSON. Check that the displayed email matches the service account added to Merchant Center.
Press Save:
Saving registers the Cloud project if needed and checks access. The module allows up to 15 seconds for retries while Google applies access changes.
When it is connected
The form says Google account "…" saved and connected.:
If a message says Google invited the developer, ask them to accept the invitation.
The grid shows Connected. Test Connection checks access again. For a production account, it also checks the developer role and requests it if needed. Save & Close, under the arrow beside Save, returns to the grid. Next, choose the account in a feed.
When Google does not accept it
The account is saved as Failed. The form shows Google's reason. If Test Connection failed on an account that was connected, reopen the form to see Connect.
- Check that the Merchant API is enabled and the service account is an Admin in Merchant Center: Make the key, steps 2 and 5. Send other errors to your developer.
- If you changed the account form, press Save. If you fixed access in Google, press Connect.
If the message says … is not registered with the merchant account, check the account id and access. If you just added the service account, wait a few minutes before pressing Connect again.
Point a feed at it
Open the feed, unfold Channel, and set Channel to Google Merchant Center (API).
Fill in the fields:
- Google account: the connected account. Use + to connect another.
- Feed label: a label such as main or clearance. Use up to 20 letters (A–Z), digits, dashes and underscores, without spaces. The feed saves it in uppercase. The label and language identify the data source's products.
- Content language: the language of the titles and descriptions.
- Target countries: for a primary source, choose where these products are sold. Leave it empty to use the account's settings.
- Supplemental data source: leave off for a primary feed. Turn on only to add fields to another feed's products.
- Primary feed: appears for supplemental sources. Choose a registered primary feed with the same Google account, feed label and content language. If the primary feed has no data source yet, save it with Active on first.
While the feed has a registered data source in this account, Feed label, Content language and Supplemental data source are fixed. Create another feed if you need different values.
Save the feed.
Saving an active feed creates its data source. The source ID appears in the confirmation and under Channel → Data source:
Inactive feeds register when you activate and save them. Products then sync automatically: see Merchant API feeds.
When Merchant Center does not take it
The feed is saved, but the form shows Feed saved, but Merchant Center did not take its data source: and the reason. Check the account connection, fix the cause and save again. The next run also retries registration. Send other errors to your developer.
Change it later
| What changed | What happens |
|---|---|
| Target countries on a primary source, or the feed's Identifier | Saving the active feed updates the data source. Its name is Magento: followed by the identifier. |
| The feed's Google account, or that account's Merchant Center account id | Saving the active feed registers a source in the new account. The next deliveries send all its eligible rows. The old account's data source keeps its products: delete it in Merchant Center if they should no longer show. |
| Feed label, Content language or Supplemental data source | The save is refused while the data source is registered in this Merchant Center account. For other values in that account, make a new feed. |
If you save during delivery, a message says the data source update is deferred. The next delivery updates it before comparing products, even if no rows changed.
If you change the Merchant Center account id on the Google account's form, the feed needs a new data source there. You can choose its feed label, language and primary or supplemental type again; the old data source stays in the previous Merchant Center account.
When the data source is deleted in Merchant Center
Once the feed detects the deletion, delivery stops. Schedule says waits for the feed to be saved, and Channel → Data source says the source was deleted.
- To send the feed again, save it, switched on. That recreates the data source. The next deliveries send all eligible rows again.
- To stop sending, switch the feed off. Nothing is sent, and nothing is created in Merchant Center.
Change or delete the account
Go to Arlanix → Integrations → Google Merchant Account and choose Select → Edit.
- To replace the key, press Choose a key file, choose the new file and save. Left empty, the field keeps the stored key.
- If you change the account id, developer email or key, save to check the connection again. Until then, the form shows Save to connect. Renaming a connected account keeps its connection.
To delete the account, click Select in its row, then Delete. It asks first, naming the account: click OK.
Deleting the account here does not revoke its Google key. Remove that separately on the service account's Keys tab. Accounts still used by feeds cannot be deleted: Troubleshooting.
























