formats
Define reusable creative format specifications (e.g., dimensions, creative type) and apply them across multiple GAM networks. Manage, suggest, and resolve format recipes through read and write operations.
Instructions
Manage the Custom Format Registry — reusable creative format recipes with multi-site scope.
MODE: mixed (read + write) AUTH: OAuth 2.0 required CREDITS: Reads = 0. Writes = 0 credits (config changes only). OUTPUT: Returns Format recipe objects with id, name, dimensions, creative_type, and applicable_sites. WHEN TO USE: Use formats to define reusable creative format specifications (e.g., a 300x250 standard display recipe) that can be applied across multiple GAM networks. NOT the same as blueprint: blueprint defines inventory positions; formats defines creative format specifications. NOT the same as creative_assets: creative_assets manages uploaded files; formats manages format metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Sub-operation to perform: • list_recipes: List all registered creative format recipes. Read-only. • list_suggested_recipes: List AI-suggested format recipes based on the network's inventory. Read-only. • accept_suggested_recipe: Accept and register a suggested recipe. Write. • reject_suggested_recipe: Reject a suggested recipe so it is not shown again. Write. • register_recipe: Register a new custom format recipe. Write. • update_recipe: Update a recipe's dimensions, creative type, or scope. Write. • delete_recipe: Delete a format recipe. Destructive write — does not affect existing creatives. • resolve: Resolve conflicts between formats across sites. Write. • detect_conflicts: Detect format conflicts across registered sites without resolving them. Read-only. | |
| network_code | No | GAM network code (e.g. 12345678). Required for all network-scoped operations. Obtain via select_gam_network or list_accessible_networks. |