Aller au contenu principal

Prebid Configurator

4 REST endpoints and 4 MCP tools to create, audit and update the Prebid.js CPM buckets in Google Ad Manager.

REST endpoints

MethodPathDescriptionCredits
POST/prebid/inspectDetect and inspect the existing Prebid configuration0
POST/prebid/previewPreview (dry-run) the creation of CPM buckets0
POST/prebid/generate-line-itemsGenerate the Prebid Line Items in GAM0.5
POST/prebid/update-line-itemsUpdate the priorities or buckets of an order0.5
POST/prebid/cleanupClean up and archive obsolete Line Items0.5

MCP tools

ToolDescriptionCredits
inspect_prebidAnalyze the network's active Prebid configuration0
preview_prebidSimulate the creation of CPM buckets with no impact0
generate_prebid_line_itemsBulk-create the Prebid Line Items and creatives in GAM0.5
update_prebid_line_itemsUpdate the priorities and CPMs of an order's buckets0.5
cleanup_prebidBulk-archive obsolete Prebid buckets0.5

Examples

Generate Prebid buckets via MCP

{
  "tool": "generate_prebid_line_items",
  "arguments": {
    "adUnitCode": "ROOT_AD_UNIT",
    "granularity": "med",
    "priceRange": [0.10, 20.00],
    "sizes": ["300x250", "728x90"],
    "namePrefix": "prebid_hb",
    "formatType": "display",
    "priority": 12,
    "dryRun": false
  }
}

Notes

  • • AdOps recommendation: priority 12 (Price Priority) for healthy dynamic allocation.
  • • Strict creative mapping: every format must have a Prebid creative template of the matching size.
  • • Full support for the Prebid v8 and v9 targeting structures.
  • • The dry-run previews exactly the additions and skips before commit.