{
 "schema": "aiblocks-page/1",
 "id": "build-the-video-performance-analyzer-builder-prompt",
 "type": "prompt",
 "name": "Video ad analysis code planner",
 "summary": "Get a coding brief for a Google Ads video ad review. It checks view rate and drop-off for each ad and lists fixes to test. Read-only.",
 "headline": "Video ad analysis code planner",
 "subhead": "Give your coding assistant your project and your Google Ads video account. It plans a read-only module. The module reads each video ad's view rate and drop-off, sorts the ads into six groups and lists what to test next. It never changes your account.",
 "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": [
  "Your code project, or its main folders and database schema",
  "The customer ID of the Google Ads account with the video campaigns, and the names of the credentials your project uses (never the secrets)",
  "The date range to review (30 days if you don't say)",
  "Your own benchmarks for view rate, completion rate and view-through conversion rate (optional)",
  "The least data an ad needs before it can be flagged (optional, 1,000 impressions and 25 in your currency if you don't say)"
 ],
 "you_get": [
  "A list of setup gaps before any code is written",
  "A read-only video review module that fits your project",
  "Six ad groups, each with limits you can change",
  "An account summary with best and worst ads, average drop-off and a Demand Gen split",
  "Test cases and a sample result built from made-up rows"
 ],
 "use_when": [
  "You run YouTube or Demand Gen video ads and can't tell which ones lose people, or where.",
  "You review video results by hand each week and want that check built into your own tool.",
  "A video gets views but few sales, and you want to know if the call to action is the problem.",
  "Your team wants a short list of ads to refresh or scale, with the numbers behind each."
 ],
 "skip_when": [
  "Your account runs Search or Display only, or you want a one-time review with no code. Paste your export into the Google Ads report auditor instead.",
  "You want to review where Display ads showed. Use the Display ad audit tool planner.",
  "Your video ads run on Meta, not Google. Use the Meta Ads reporting app planner.",
  "You want it to pause ads or change budgets. It only proposes. You make the change in Google Ads."
 ],
 "output_sample": {
  "input": [
   "Your code project, or its main folders and database schema",
   "The customer ID of your Google Ads video account and the names of your credentials",
   "The date range, and your own benchmarks (optional)"
  ],
  "prerequisites": [
   "A coding assistant that can open your project, such as Claude Code or Codex",
   "Google Ads API access with read permission, set up before you run the module"
  ],
  "output": [
   {
    "name": "Setup gaps",
    "contains": "Missing schemas, permissions and field names to check before any code is written."
   },
   {
    "name": "Function signature",
    "contains": "The inputs and result type of the video review function in your project."
   },
   {
    "name": "Sample DiagnosticOutput",
    "contains": "Findings from made-up rows, each with a check ID, severity, direct and view-through conversions and one idea to test."
   },
   {
    "name": "Account summary",
    "contains": "The best five and worst five ads, the average drop-off curve and the YouTube against Demand Gen split."
   },
   {
    "name": "Test results",
    "contains": "Tests for each of the six groups and the Demand Gen switch, or a plain note that none were run."
   }
  ]
 },
 "output_shape": "SETUP GAPS\n<what is missing: schemas, permissions, field names to confirm>\n\nFUNCTION SIGNATURE\nanalyzeVideoPerformance(<input>) -> DiagnosticOutput\n\nSAMPLE DiagnosticOutput (made-up rows)\n<findings with checkId, severity, direct and view-through conversions, and one idea to test>\n\nACCOUNT SUMMARY\nbest 5 ads | worst 5 ads | average drop-off by quarter | YouTube vs Demand Gen\n\nTEST RESULTS\n<passed, failed, or not run and why>\n\nNEXT STEP\n<the smallest useful step>",
 "how_to_use": [
  "Open your coding assistant, such as Claude Code or Codex, in your project folder. A plain chat AI can only write a plan.",
  "Paste the skill, then add the items under \"What you need\". Never paste a secret key.",
  "Read the setup gaps first. Fix each one, or tell the assistant to go on with placeholders.",
  "Give your own benchmarks if you have them, and say yes to each starting limit or change it. A wrong limit gives wrong flags.",
  "Read every change before you accept it. Run the tests in your own project.",
  "Treat each finding as an idea to test. Check a few flagged ads in Google Ads before you change any creative or budget."
 ],
 "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-video-performance-analyzer-builder-prompt",
  "markdown": "https://useaiblocks.com/prompts/build-the-video-performance-analyzer-builder-prompt.md",
  "json": "https://useaiblocks.com/prompts/build-the-video-performance-analyzer-builder-prompt.json",
  "instructions": "https://useaiblocks.com/skills/build-the-video-performance-analyzer-builder-prompt/SKILL.md",
  "download": "https://useaiblocks.com/skills/build-the-video-performance-analyzer-builder-prompt.zip",
  "api_item": "https://useaiblocks.com/api/v1/items/build-the-video-performance-analyzer-builder-prompt",
  "api_document": "https://useaiblocks.com/api/v1/documents/prompt/build-the-video-performance-analyzer-builder-prompt",
  "mcp": "https://useaiblocks.com/mcp"
 }
}
