Skip to main content
Glama
trip-clear

google-ads-mcp

by trip-clear

P-MAX のアセットグループを作成

google_ads_create_asset_group

Create a P-MAX asset group with headlines, descriptions, business name, images, and logos in one call. Validates assets to prevent rejection and defaults to paused.

Instructions

P-MAX のアセットグループを作る(P-MAX に広告グループも広告も無い)。テキスト・画像・アセットグループ・リンクを1 回の mutate で作る(Google の要求)。画像はローカルのファイルパスか http(s) の URLで指定する(1 枚 5120 KB まで)。必須: 見出し 3〜15(30字)/ 長い見出し 1〜5(90字)/ 説明 2〜5(90字)/ ビジネス名 1(25字)/ 横長画像 1〜20(1.91:1)/ 正方形画像 1〜20(1:1)/ ロゴ 1〜5(1:1)。字数は全角を 2 と数えるので、日本語では上限が半分。1 つでも足りないと Google がリクエスト全体を拒否するので、先に validate_only=true で検算するとよい。既定は PAUSED。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesアセットグループの名前
logosYesロゴのパスか URL 1〜5 件(1:1)
statusNoENABLED / PAUSED。既定 PAUSED
headlinesYes見出し 3〜15 本。各 30 文字以内
final_urlsYes遷移先 URL
customer_idNo対象の顧客 ID(ハイフン有無どちらでも可)。省略時は GOOGLE_ADS_CUSTOMER_ID
descriptionsYes説明文 2〜5 本。各 90 文字以内
business_nameYesビジネス名。25 文字以内
validate_onlyNotrue なら Google 側で検算だけ行い、何も作らない
long_headlinesYes長い見出し 1〜5 本。各 90 文字以内
landscape_logosNo任意。横長ロゴのパスか URL(4:1。推奨 1200x300)
marketing_imagesYes横長画像のパスか URL 1〜20 件(1.91:1。推奨 1200x628)
campaign_resource_nameYescustomers/{cid}/campaigns/{id}(P-MAX のもの)
square_marketing_imagesYes正方形画像のパスか URL 1〜20 件(1:1。推奨 1200x1200)
portrait_marketing_imagesNo任意。縦長画像のパスか URL(4:5。推奨 960x1200)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only give readOnly=false/destructive=false/openWorld=true, but the description adds substantive behavior: atomic all-or-nothing request rejection by Google, the 5120 KB per-image limit, the default PAUSED status, and validate_only's dry-run semantics. These are meaningful traits beyond what annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the atomic-creation constraint are front-loaded, and the dense constraint list earns its place given the strict validation rules. It is long but nearly every clause carries required calling information, with only minor redundancy between description and schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter, 10-required mutation tool with no output schema, the description covers atomicity, required asset counts and ratios, character-counting rules, image size limits, validate_only pre-checks, and the default status. Nothing essential to a correct call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds semantics the schema lacks: images accept local file paths or http(s) URLs (not stated per-field), the full-width-counts-as-2 rule that halves Japanese character limits, and minimum/maximum counts for each asset type. These extend beyond the structured field descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource (creating a P-MAX asset group) and explicitly disambiguates from siblings by noting P-MAX has no ad groups or ads, unlike google_ads_create_ad_group. An agent can tell exactly what this produces without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives actionable operational guidance: run validate_only=true first to pre-check, and explains that everything must be created in a single mutate call per Google's requirement. It does not explicitly contrast with google_ads_mutate for partial updates, so usage is clear but not exhaustively scoped.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.