# Google Merchant Center Feed Field Checker (`merciful_goldenlarch/google-merchant-center-feed-field-checker`) Actor

Paste a Merchant Center RSS XML, TSV, or CSV feed to flag duplicate IDs and issues with offer links, price, currency, availability and sale price.

- **URL**: https://apify.com/merciful_goldenlarch/google-merchant-center-feed-field-checker.md
- **Developed by:** [Toolshed](https://apify.com/merciful_goldenlarch) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Merchant Center Feed Field Checker

Paste a Merchant Center feed to find duplicate IDs and offer field problems before you upload it. The report shows the feed row, product ID when safe to export, and the fields that need review.

### Try it

1. Open **Input** and select **Start** to check one item sampled from a [public Fourthwall feed](https://shop.charlottedobre.net/.well-known/merchant-center/rss.xml). It should return one **FIELDS_OK** row.
2. Replace **Product feed** with your RSS XML, TSV, or CSV. For TSV or CSV, use the column names `id`, `link`, `price`, and `availability`.
3. Open **Output** and look for **ISSUES**. Export the results, or open **Full report** for counts by issue and a hash of the input.

The checker covers ID length and duplicates, link format, price and currency format, accepted availability values, and basic sale price consistency. A run accepts up to 10,000 rows or 10 MiB of UTF-8 text. **FIELDS_OK** applies to the fields checked. Landing pages, rendered prices, and Merchant Center approval are outside this field check. See [Google's product data specification](https://support.google.com/merchants/answer/7052112) for complete submission requirements.

Use feeds you are authorized to upload because Apify stores run inputs.

### Result and next step

Each row includes nextSteps. Sale dates are checked for valid dates, supported ISO-style formatting and a positive start/end interval, including date-only and timezone-bearing ranges. Missing timezones use UTC; date-only end dates include that full day. FIELDS_OK only covers the documented offer checks; it is not Merchant Center approval. Landing pages, shipping/tax, full product requirements and target-country currency eligibility need separate review.

Currency-code membership uses the bundled SIX ISO 4217 monetary-code snapshot, published 2026-09-17 and retrieved 2026-11-10. This does not check whether Google supports that code for a target country. Update the bundled reference when codes change.

### Read the findings

The default result view shows a readable finding, the affected item, what the evidence means and what to do next. Switch to **Evidence and source fields** for the underlying records. Download **REVIEW.csv** to work in a spreadsheet, or **REVIEW.html** for a plain report. Suggested actions are checks for you to perform; the Actor has not executed them. Existing API evidence fields are retained alongside the reading layer.

If the run budget cannot deliver every result row, the run fails rather than silently returning a complete-looking partial dataset. Check **Dataset delivery status** in Output, reduce the input or increase the run budget, and start a new run. A successful dataset-delivery check confirms storage, not source accuracy or full workflow compatibility.

# Actor input Schema

## `feedText` (type: `string`):

Paste Google Merchant Center RSS XML, TSV, or CSV. Start with the prefilled example.

## Actor input object example

```json
{
  "feedText": "<rss xmlns:g=\"http://base.google.com/ns/1.0\" version=\"2.0\">\n  <channel>\n    <item>\n      <g:id>5d48d364-36ac-4213-99cd-65daa2558700</g:id>\n      <g:link>https://shop.charlottedobre.net/products/petty-crop-tee</g:link>\n      <g:price>30.00 USD</g:price>\n      <g:availability>out of stock</g:availability>\n    </item>\n  </channel>\n</rss>"
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `report` (type: `string`):

No description

## `reviewCsv` (type: `string`):

No description

## `reviewHtml` (type: `string`):

No description

## `deliveryStatus` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "feedText": `<rss xmlns:g="http://base.google.com/ns/1.0" version="2.0">
  <channel>
    <item>
      <g:id>5d48d364-36ac-4213-99cd-65daa2558700</g:id>
      <g:link>https://shop.charlottedobre.net/products/petty-crop-tee</g:link>
      <g:price>30.00 USD</g:price>
      <g:availability>out of stock</g:availability>
    </item>
  </channel>
</rss>`
};

// Run the Actor and wait for it to finish
const run = await client.actor("merciful_goldenlarch/google-merchant-center-feed-field-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "feedText": """<rss xmlns:g=\"http://base.google.com/ns/1.0\" version=\"2.0\">
  <channel>
    <item>
      <g:id>5d48d364-36ac-4213-99cd-65daa2558700</g:id>
      <g:link>https://shop.charlottedobre.net/products/petty-crop-tee</g:link>
      <g:price>30.00 USD</g:price>
      <g:availability>out of stock</g:availability>
    </item>
  </channel>
</rss>""" }

# Run the Actor and wait for it to finish
run = client.actor("merciful_goldenlarch/google-merchant-center-feed-field-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "feedText": "<rss xmlns:g=\\"http://base.google.com/ns/1.0\\" version=\\"2.0\\">\\n  <channel>\\n    <item>\\n      <g:id>5d48d364-36ac-4213-99cd-65daa2558700</g:id>\\n      <g:link>https://shop.charlottedobre.net/products/petty-crop-tee</g:link>\\n      <g:price>30.00 USD</g:price>\\n      <g:availability>out of stock</g:availability>\\n    </item>\\n  </channel>\\n</rss>"
}' |
apify call merciful_goldenlarch/google-merchant-center-feed-field-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,merciful_goldenlarch/google-merchant-center-feed-field-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/V63mb4qAelDISBfuj/builds/vK2yuTRcNVHmquM88/openapi.json
