placements
Group ad units into placements for line item targeting. Manage placements via list, create, update, or archive.
Instructions
Manage GAM placements — named groups of ad units used for targeting.
MODE: mixed (read + write) AUTH: OAuth 2.0 required CREDITS: Reads = 0. Writes = 0.5 credits. OUTPUT: Returns Placement objects with id, name, description, targetedAdUnitIds, and status. WHEN TO USE: Use placements to create named groupings of ad units for targeting in line items. Placements are referenced in line item targeting via the targeting tool. Use inventory for individual ad unit management.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Sub-operation to perform: • list_placements: List all placements on the network. Read-only. • create_placement: Create a new placement grouping ad units. Write. Requires name and targetedAdUnitIds. • update_placement: Update a placement's name or ad unit membership. Write. • archive_placement: Archive a placement. Destructive write — removes from targeting options. | |
| network_code | No | GAM network code (e.g. 12345678). Required for all network-scoped operations. Obtain via select_gam_network or list_accessible_networks. |