{
 "schema": "aiblocks-page/1",
 "id": "google-bid-budget-code-prompt",
 "type": "prompt",
 "name": "Google Ads bid and budget planner",
 "summary": "Get a coding brief for Google Ads bid and budget checks. It covers a bid strategy review and safe budget moves, written as proposals to review.",
 "headline": "Google Ads bid and budget planner",
 "subhead": "Get a coding brief for Google Ads bid and budget checks, with matched data, business targets and proposed changes.",
 "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 schema and file layout",
  "The Google Ads customer ID, date range and account currency",
  "Each campaign's current bid strategy and budget",
  "Your approved ROAS or CPA targets and your total spend limit"
 ],
 "you_get": [
  "A coding brief for the bid strategy diagnostic + budget reallocator",
  "Required files, setup gaps and test cases"
 ],
 "use_when": [
  "You want your own tool to check Google Ads bid strategies and suggest budget moves.",
  "You want the rules for a budget move written down before anyone codes them.",
  "You want tests that prove the total budget stays the same and no budget goes below zero.",
  "You have a developer or a coding AI who can build and run it."
 ],
 "skip_when": [
  "Your account has no conversion tracking. Do a manual bid review in Google Ads instead.",
  "You want your AI to change bids or budgets in the account. This brief only proposes changes for you to review.",
  "You have no code project to build in. Ask a person who runs Google Ads to review bids and budgets by hand."
 ],
 "output_sample": {
  "input": [
   "Your code project, or its schema and file layout",
   "What the feature must do",
   "Your approved ROAS or CPA targets (optional)",
   "Your total spend limit and any campaigns to protect (optional)"
  ],
  "prerequisites": [
   "An AI that can read your code project",
   "Google Ads API access only if you later run it on a real account: developer token, OAuth and account permissions"
  ],
  "output": [
   {
    "name": "Typed input",
    "contains": "The fields the code takes, such as customer ID, date range, currency, current budgets, targets and data freshness."
   },
   {
    "name": "Bid strategy diagnosis module",
    "contains": "Checks strategy fit, learning status, impression share loss and conversion evidence, and marks missing data."
   },
   {
    "name": "Target attainment calculation",
    "contains": "Actual results against target ROAS or CPA, with no profit claim unless margin is supplied."
   },
   {
    "name": "Budget reallocation module",
    "contains": "Proposed moves that keep the total spend and respect minimums, maximum changes and protected campaigns."
   },
   {
    "name": "Move table",
    "contains": "Per move: campaign ID, current and proposed budget, change, reason, evidence window, risk, review owner and stop condition."
   },
   {
    "name": "Test cases",
    "contains": "Tests for missing targets, zero conversions, currency, budget totals, no-move cases and unknown impact."
   },
   {
    "name": "Setup gaps",
    "contains": "A list of missing files, schemas and API permissions to fix before building."
   }
  ]
 },
 "how_to_use": [
  "Paste the text of SKILL.md into Claude, ChatGPT or Gemini. Use Claude Code or Codex if you want it to read your project files.",
  "Attach or open your repository, then answer the inputs it asks for: customer ID, date range, currency, ROAS or CPA targets and your spending limit.",
  "Check the brief against your own facts before you use it.",
  "Next: give the brief to a developer or your coding AI. Review every proposed move with the budget owner before anything is changed in Google Ads."
 ],
 "checks": [],
 "next": [
  {
   "name": "Breaking change reviewer",
   "url": "https://useaiblocks.com/skills/breaking-change-reviewer",
   "why": "Build it"
  }
 ],
 "source": null,
 "credits": [],
 "files": [
  "references/worked-example.md"
 ],
 "links": {
  "page": "https://useaiblocks.com/prompts/google-bid-budget-code-prompt",
  "markdown": "https://useaiblocks.com/prompts/google-bid-budget-code-prompt.md",
  "json": "https://useaiblocks.com/prompts/google-bid-budget-code-prompt.json",
  "instructions": "https://useaiblocks.com/skills/google-bid-budget-code-prompt/SKILL.md",
  "download": "https://useaiblocks.com/skills/google-bid-budget-code-prompt.zip",
  "api_item": "https://useaiblocks.com/api/v1/items/google-bid-budget-code-prompt",
  "api_document": "https://useaiblocks.com/api/v1/documents/prompt/google-bid-budget-code-prompt",
  "mcp": "https://useaiblocks.com/mcp"
 }
}
