{
 "schema": "aiblocks-page/1",
 "id": "build-the-shopping-feed-auditor-builder-prompt",
 "type": "prompt",
 "name": "Shopping feed audit prompt writer",
 "summary": "Build a read-only Google Shopping product audit in your code. Get a prompt that sorts products into five tiers with fix, bid and pause lists.",
 "headline": "Shopping feed audit prompt writer",
 "subhead": "Paste one prompt into a coding AI such as Claude Code. It builds a read-only module that sorts every product in your Google Shopping campaigns into five tiers by results. You get three lists, feed fixes, bid tests and pause candidates, each with the cost behind it.",
 "job": {
  "id": "build-software",
  "name": "Build and ship software"
 },
 "level": "intermediate",
 "thinking": "medium",
 "tested": true,
 "updated": "2026-11-03",
 "first_published": "2026-10-25",
 "inputs": [
  {
   "type": "codebase",
   "required": true,
   "label": "Codebase",
   "what": "a project's code, in a folder or repo the AI can open"
  }
 ],
 "outputs": [
  {
   "type": "code_change",
   "required": true,
   "label": "Code change",
   "what": "a change to the code, with what it fixes and how it was checked"
  }
 ],
 "you_give": [
  "A code project and a coding AI, such as Claude Code, that can edit it",
  "Product rows with cost, impressions, clicks, conversions, conversion value and campaign type, from the Google Ads API or sample rows",
  "Your target ROAS, worked out from your margin",
  "Your date range, account currency and cost cut-offs (the prompt gives example values)",
  "Category benchmarks for click rate (optional)"
 ],
 "you_get": [
  "A prompt that builds one read-only audit function with typed input and output",
  "Five tiers with tests in a set order, plus a not enough data group",
  "Three lists, feed fixes, bid tests and pause candidates, each sorted by cost",
  "A list of every setting and assumption for you to review",
  "Tests on sample rows, with no real account used"
 ],
 "use_when": [
  "You are building your own Google Ads tool and want a Shopping product review in it.",
  "Your Shopping spend is high and you suspect many products earn nothing.",
  "A developer needs a clear brief for a product tiering module, with the tier tests set out in order.",
  "You want fix, bid and pause lists you can hand to a person to approve."
 ],
 "skip_when": [
  "You only want a feed review from your Merchant Center reports, with no software: use the Google Merchant Center feed checker.",
  "You have no Shopping campaigns or no product-level results: nothing here can run, so start with the Google Ads campaign structure planner.",
  "You only need better product titles: use the Shopping feed title writer.",
  "You are looking for wasted spend on Display placements: use the Display ad audit tool planner."
 ],
 "output_sample": {
  "input": [
   "Your code project, open in a coding AI",
   "Product rows with cost, impressions, clicks, conversions, conversion value and campaign type",
   "Your target ROAS, date range and account currency",
   "Your cost cut-offs and category benchmarks (optional)"
  ],
  "prerequisites": [
   "Google Ads API read access, or typed sample rows to start with",
   "A coding AI that can read and edit your project"
  ],
  "output": [
   {
    "name": "auditShoppingProducts function",
    "contains": "One read-only function with typed input and output, in your project's language and style."
   },
   {
    "name": "Tier rules",
    "contains": "Zombie, hero, steady, underperformer and potential tests in a fixed order, plus a not enough data group."
   },
   {
    "name": "Findings",
    "contains": "Per tier, with the campaign type, the products, the cost and a starting recommendation."
   },
   {
    "name": "Action lists",
    "contains": "Feed fixes, bid tests and pause candidates, each sorted by cost and capped in length."
   },
   {
    "name": "Not enough data count",
    "contains": "Products without enough impressions or benchmark data, so none are guessed into a tier."
   },
   {
    "name": "Tests and settings",
    "contains": "Tests for every tier and the cut-offs you need to review."
   }
  ]
 },
 "output_shape": "Function: auditShoppingProducts(input) -> DiagnosticOutput\nTiers: <count per tier, plus not enough data>\nFindings: <checkId | severity | campaign type | products | cost | recommendation>\nAction lists (sorted by cost, capped):\n  feedFixes: <offerId, title, issues>\n  bidChanges: <offerId, direction, reason>\n  pauses: <offerId, reason, cost to date, clicks>\nSettings and assumptions to review: <list>\nTests: <results, or \"not run\">",
 "how_to_use": [
  "Work out your target ROAS from your margin. The audit cannot run without it.",
  "Decide where product data comes from. If you have code that fetches it, tell the AI where it is. If not, the prompt builds the function to take typed rows.",
  "Copy the prompt from the skill and fill in the angle brackets, including your cost cut-offs. Paste it into your coding AI with your project open.",
  "Read the settings list the AI gives back, and change any cut-off that does not suit your account.",
  "Run the tests on sample rows. Run it on a live account only when you decide to, read-only.",
  "Hand the three lists to a person to approve. Nothing is changed for you."
 ],
 "checks": [],
 "next": [
  {
   "name": "Simple code coach",
   "url": "https://useaiblocks.com/skills/simple-code-coach",
   "why": "Build it"
  }
 ],
 "source": null,
 "credits": [],
 "files": [
  "references/worked-example.md"
 ],
 "links": {
  "page": "https://useaiblocks.com/prompts/build-the-shopping-feed-auditor-builder-prompt",
  "markdown": "https://useaiblocks.com/prompts/build-the-shopping-feed-auditor-builder-prompt.md",
  "json": "https://useaiblocks.com/prompts/build-the-shopping-feed-auditor-builder-prompt.json",
  "instructions": "https://useaiblocks.com/skills/build-the-shopping-feed-auditor-builder-prompt/SKILL.md",
  "download": "https://useaiblocks.com/skills/build-the-shopping-feed-auditor-builder-prompt.zip",
  "api_item": "https://useaiblocks.com/api/v1/items/build-the-shopping-feed-auditor-builder-prompt",
  "api_document": "https://useaiblocks.com/api/v1/documents/prompt/build-the-shopping-feed-auditor-builder-prompt",
  "mcp": "https://useaiblocks.com/mcp"
 }
}
