# Merchant FeedGuard: Google Merchant Center Feed Validator (`aladzhov/merchant-feedguard`) Actor

Google Merchant Center feed validator for Google Shopping, Meta catalog and Shopify product feeds. Finds missing GTINs, bad prices, invalid availability, broken images and landing page price mismatches. Health score, issue list with fixes, auto-fixed CSV. $0.50 per 1,000 products.

- **URL**: https://apify.com/aladzhov/merchant-feedguard.md
- **Developed by:** [Anton Aladzhov](https://apify.com/aladzhov) (community)
- **Categories:** E-commerce, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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

### What is Merchant FeedGuard?

**Merchant FeedGuard is a product feed validator for Google Merchant Center, Meta (Facebook & Instagram) catalogs and marketplaces.** Paste a feed URL, such as a Google Shopping XML feed, a CSV/TSV export or a Shopify `products.json`, and get every problem that would get products disapproved: **missing GTINs, invalid prices, broken landing pages, bad availability values, overlong titles** and 40+ other checks. Every product gets a severity and a fix suggestion, and the whole feed gets a **0–100 health score**.

Try it now: the default input checks a live Shopify store and finishes in about 10 seconds.

#### Why use a feed validator before you upload?

- 🚫 **Avoid disapprovals.** Google Merchant Center and Meta Commerce Manager reject items with missing identifiers, wrong price formats or dead links, and you often only find out days later.
- 💸 **Protect ad spend.** Disapproved products drop out of Shopping and Performance Max campaigns.
- 🔁 **Catch regressions.** Compare every run against a saved baseline to see which items, prices and errors changed since the last upload.
- 🛠️ **Get fixes, not just errors.** Every issue includes a plain-English fix, and for CSV and XML feeds a cleaned CSV is generated where safe corrections are possible.

### What does Merchant FeedGuard check?

| Area | Example checks |
|---|---|
| Identifiers | GTIN length and check digit, non-numeric GTINs, missing GTIN/MPN/brand, duplicate IDs |
| Price & availability | Price format and currency, `sale_price` higher than `price`, invalid availability or condition values |
| Titles & descriptions | Too long or too short, ALL CAPS, promotional text, excessive punctuation |
| Links & images | Invalid or non-HTTPS links, unsupported image formats |
| Landing pages (optional) | HTTP status, and whether the price and availability on the page match the feed |
| Channel rules | Google Merchant Center, Meta catalog, or generic e-commerce requirements |
| Changes vs baseline | Items added or removed, and prices changed since the previous run |

**Supported feed formats:** Google Shopping XML/RSS, CSV, TSV, JSON and Shopify `products.json`. The format is auto-detected.

### How to validate a product feed (step by step)

1. Click **Try for free**, or open the Actor in Apify Console.
2. Under **Product Feeds**, add one or more feeds with a name and a public URL, for example `https://your-store.com/products.json`.
3. Choose the **target channels**: Google, Meta and/or generic.
4. Optional: turn on **Check landing pages** and set a sample size to verify live product pages.
5. Optional: set a **Baseline name** to compare each run with the previous one.
6. Click **Start**. Results appear in the **Output** tab as a table of issues, plus a summary with health scores.

### Input example

```json
{
  "feeds": [
    { "name": "allbirds", "url": "https://www.allbirds.com/products.json", "format": "shopify-json" }
  ],
  "channels": ["google"],
  "maxItemsPerFeed": 1000,
  "checkLandingPages": true,
  "landingPageSampleSize": 10
}
```

### Output example

Each validation issue is one row in the dataset (export to JSON, CSV, Excel or via API):

```json
{
  "feedName": "allbirds",
  "itemId": "7292464824400_41990816137296",
  "field": "gtin",
  "severity": "warning",
  "rule": "IDENTIFIER_MISSING",
  "message": "GTIN or MPN is recommended for new products (SKU provided but not a valid product identifier)",
  "fixSuggestion": "Provide GTIN or MPN, or set identifier_exists to \"false\" if no identifier exists"
}
```

The `OUTPUT` record holds the overall summary, with totals by severity and a health score per feed. Landing page checks (`httpStatus`, `priceMatch`, `availabilityMatch`) and fixed CSV feeds are saved in the key-value store.

### How much does it cost to validate a product feed?

Merchant FeedGuard uses transparent **pay-per-event** pricing. You pay only for what is checked, and there's no subscription.

| Event | Price |
|---|---|
| Product validated | **$0.0005** per item ($0.50 per 1,000 products) |
| Landing page checked (optional) | **$0.01** per page |

**Pricing examples**

- Auditing **1,000 products** costs **$0.50**.
- A **10,000-product** catalog costs **$5.00**. Add 100 landing-page checks for $1.00.
- A **daily check of a 2,000-product feed** costs about **$30 per month**.
- Apify's free plan includes monthly platform credit, enough to validate thousands of products before you pay anything.

You can set a **maximum cost per run** in Apify, and FeedGuard stops cleanly when it is reached.

### Integrations and automation

- **Schedule** daily or hourly feed checks with Apify Schedules.
- **API**: run it from any language with the Apify REST API or the JavaScript/Python clients.
- **Zapier, Make and n8n**: send new critical issues to Slack, email or Google Sheets.
- **Webhooks**: trigger your pipeline when a run finishes.
- **AI agents (MCP)**: the Actor is available as a tool through the [Apify MCP server](https://docs.apify.com/mcp), so Claude, ChatGPT or Cursor agents can audit feeds on request.

### Use cases

- **E-commerce and PPC agencies** auditing client feeds before onboarding or every week.
- **Shopify, WooCommerce and BigCommerce merchants** checking feeds before Google Shopping or Meta uploads.
- **Feed management teams** catching broken GTINs or price mismatches after catalog imports.
- **Developers** adding a feed-quality gate to CI/CD or ETL pipelines.

### FAQ

#### Does it work with Shopify stores?

Yes. Point it at `https://your-store.com/products.json`, and every product variant is validated as a separate item. Product links are built from your store's domain.

#### Can it validate Google Shopping XML feeds?

Yes. Google RSS/XML feeds with the `g:` namespace are supported, as well as CSV and TSV feeds exported from feed tools.

#### Is this the same as the Google Merchant Center diagnostics?

No. Merchant Center diagnoses feeds after upload. FeedGuard checks before upload, can run on any schedule, and works for Meta catalogs too. Use both.

#### Does it need my Merchant Center login?

No. It only reads the public feed URL you provide.

#### What is the health score?

A 0–100 score weighted by issue severity: critical > error > warning > info. Use it to track feed quality over time.

#### Something is wrong or missing. What should I do?

Open an issue on the **Issues** tab. Reports are usually answered within 24 hours, and feature requests are welcome.

### Other tools by this developer

- [SEO ReleaseGuard](https://apify.com/aladzhov/seo-releaseguard): catch SEO regressions after every website deploy.
- [Greenhouse Change Ledger](https://apify.com/aladzhov/greenhouse-change-ledger): monitor Greenhouse job boards for new, changed and removed jobs.

# Actor input Schema

## `feeds` (type: `array`):

Product feeds to validate. Each item: {"name": "unique label", "url": "public https URL of the feed"} and optional "format" (auto, google-xml, csv, tsv, json, shopify-json). For Shopify stores use https://STORE-DOMAIN/products.json. You can also pass raw feed text in "content" instead of "url".

## `channels` (type: `array`):

Which channel rules to validate against: google (Google Merchant Center / Google Shopping), meta (Facebook & Instagram catalogs), generic (basic e-commerce sanity checks). Pick one or more.

## `checkLandingPages` (type: `boolean`):

If true, opens a sample of product landing pages and checks HTTP status and whether price and availability on the page match the feed. Charged per page checked ($0.01).

## `landingPageSampleSize` (type: `integer`):

How many product landing pages to check when checkLandingPages is true (0 = all products). Start with 10-50.

## `baselineName` (type: `string`):

Optional. Name of a saved baseline (e.g. 'main-feed'). If set, the run is compared with the previous run of the same name to report items added/removed and price changes.

## `maxItemsPerFeed` (type: `integer`):

Maximum number of products (items/variants) to validate per feed. Caps cost: each validated item is charged $0.0005.

## `checkImageUrls` (type: `boolean`):

Validate image_link URLs (format and supported file types).

## `generateFixedFeed` (type: `boolean`):

For CSV/XML feeds, save an auto-corrected CSV where safe fixes are possible (e.g. trimming, formatting).

## `strictMode` (type: `boolean`):

Treat warnings as errors (useful as a strict quality gate in CI).

## Actor input object example

```json
{
  "feeds": [
    {
      "name": "allbirds",
      "url": "https://www.allbirds.com/products.json",
      "format": "shopify-json"
    }
  ],
  "channels": [
    "google"
  ],
  "checkLandingPages": false,
  "landingPageSampleSize": 5,
  "maxItemsPerFeed": 50,
  "checkImageUrls": false,
  "generateFixedFeed": true,
  "strictMode": false
}
```

# Actor output Schema

## `issues` (type: `string`):

One dataset item per validation issue found in the feeds.

## `summary` (type: `string`):

Overall summary: totals by severity and per-feed health scores.

## `files` (type: `string`):

Key-value store records: landing_checks\_<feed>.json and fixed_feed\_<feed>.csv.

# 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 = {
    "feeds": [
        {
            "name": "allbirds",
            "url": "https://www.allbirds.com/products.json",
            "format": "shopify-json"
        }
    ],
    "channels": [
        "google"
    ],
    "checkLandingPages": false,
    "landingPageSampleSize": 5,
    "maxItemsPerFeed": 50,
    "checkImageUrls": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("aladzhov/merchant-feedguard").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 = {
    "feeds": [{
            "name": "allbirds",
            "url": "https://www.allbirds.com/products.json",
            "format": "shopify-json",
        }],
    "channels": ["google"],
    "checkLandingPages": False,
    "landingPageSampleSize": 5,
    "maxItemsPerFeed": 50,
    "checkImageUrls": False,
}

# Run the Actor and wait for it to finish
run = client.actor("aladzhov/merchant-feedguard").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 '{
  "feeds": [
    {
      "name": "allbirds",
      "url": "https://www.allbirds.com/products.json",
      "format": "shopify-json"
    }
  ],
  "channels": [
    "google"
  ],
  "checkLandingPages": false,
  "landingPageSampleSize": 5,
  "maxItemsPerFeed": 50,
  "checkImageUrls": false
}' |
apify call aladzhov/merchant-feedguard --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aladzhov/merchant-feedguard"
        }
    }
}
```

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/iFsx7MYNutfTnHBWj/builds/vEpsjXg3apKzekgpw/openapi.json
