adops-campaign

adops-campaign is a command for Claude Code from OrbiAds/Orbiads-GAM-MCP. It costs 37 tokens per session (1,713 once invoked), scanned A, original, MIT.

A command for reading, planning, deploying, previewing, pausing, or checking Google Ad Manager campaigns. A campaign is a set of advertising orders, line items, creatives, and targeting rules.

In plain words
What is it for?
Use it to inspect campaign details, create an execution preview, associate creatives, deploy approved changes, pause campaigns, and check campaign status.
Why use it?
It shows the live campaign state and previews planned changes before execution, helping catch risks, warnings, and mismatches before anything is written.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the orbiads plugin — 8 skills, 7 commands, 5 agents, 1 hook, 2 MCP servers shipped together

Good fit Use it to inspect campaign details, create an execution preview, associate creatives, deploy approved changes, pause campaigns, and check campaign status.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/orbiads/orbiads-gam-mcp/adops-campaign
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/OrbiAds/Orbiads-GAM-MCP

Made for: Claude Code.

Or install orbiads, the plugin that ships this one along with the rest of its 8 skills, 7 commands, 5 agents, 1 hook, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for adops-campaign

README.md
[![agentmods](https://agentmods.dev/badge/commands/orbiads/orbiads-gam-mcp/adops-campaign/github.svg)](https://agentmods.dev/commands/orbiads/orbiads-gam-mcp/adops-campaign)
Your own site
<a href="https://agentmods.dev/commands/orbiads/orbiads-gam-mcp/adops-campaign"><img src="https://agentmods.dev/badge/commands/orbiads/orbiads-gam-mcp/adops-campaign/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for adops-campaign

Your own site · 80×15
<a href="https://agentmods.dev/commands/orbiads/orbiads-gam-mcp/adops-campaign"><img src="https://agentmods.dev/badge/commands/orbiads/orbiads-gam-mcp/adops-campaign.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,713 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01713
Opus 5 $0.00018 $0.00856
Sonnet 5 $0.00007 $0.00343
Haiku 4.5 $0.00004 $0.00171

Measured 11d ago against content hash 6156ac956308, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

adops-campaign scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/adops-campaign.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GAM Campaign Lifecycle

Always start by confirming the tenant: call get_my_tenant_id. If unauthenticated, stop and ask the user to run orbiads auth login.

read

Call campaign(action="read", params={campaign_id}).

This returns a live CampaignRecap: order, groups, line items, LICAs, creatives, and targeting assembled from GAM. It is free and performs zero GAM writes.

Use this recap as the source of truth before edit-intents, diagnostics, or resume work. It reflects GAM live state, not a Firestore mirror or previous LLM context that may have drifted.

dry-run

Call campaign(action="dry_run", params={campaign_id}) or campaign(action="dry_run", params={job_id}).

The server returns a signed ExecutionPlan:

{
  operation,
  resourceType: "campaign",
  preview,
  mutations[],
  risks[],
  warnings[],
  estimatedCost,
  confirmationToken,
  expiresIn: 300
}

This step is free and performs zero GAM or Firestore writes. The confirmationToken produced here is consumed by campaign(action="deploy").

Error handling:

  • CONFIRMATION_REQUIRED: no token was supplied for execute; re-run dry_run.
  • PAYLOAD_MISMATCH: the payload drifted between dry-run and deploy; re-run dry_run.
  • TOKEN_EXPIRED: the token is older than 300 seconds; re-run dry_run.

plan-deployment

Call campaign(action="plan_deployment", params={preset, ...}).

Available presets: display_banner, video_vast, video_hosted, audio_vast, audio_hosted, custom_spec. Pass product_id when an ADCP Product should prefill placements, pricing, and formats.

The server returns a signed ExecutionPlan with dry_run=true implied. It is free, and the resulting token is consumed by campaign(action="deploy_media").

deploy-media

Call campaign(action="deploy_media", params={confirmation_token}).

This executes through the unified CampaignPipeline.deploy saga. It costs credits using the same grid as deploy, and it requires a confirmation_token from plan_deployment or dry_run.

Read the full file on GitHub · 149 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 149 lines · 37 tokens per session scan A 6156ac956308

Subscribe to this mod's changes

adops-campaign is a command published in the GitHub repository OrbiAds/Orbiads-GAM-MCP (3 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 1,713 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.