Aller au contenu principal

Blueprint Change Set

Créez un change set d'inventaire, visualisez le diff complet, puis poussez vers GAM uniquement après confirmation.

Endpoints REST

MéthodePathDescriptionCrédits
POST/api/inventory/blueprints/{id}/draftsCréer un change set scoped sur un blueprint0
GET/api/inventory/blueprints/{id}/drafts/{did}Lire le change set0
POST/api/inventory/blueprints/{id}/drafts/{did}/promotePromouvoir le change set vers le blueprint0
POST/api/inventory/blueprints/{id}/pushPousser le blueprint vers GAM avec diff et ack réseau0.5/unit

Outils MCP

OutilDescriptionCrédits
push_inventory_blueprint(dryRun=true)Preview diff CREATE/UPDATE/ARCHIVE et token0
push_inventory_blueprint(confirmationToken=...)Pousser le diff confirmé vers GAM0.5/unit
generate_inventory_blueprintGénérer une structure d'inventaire avant change set0

Exemples

Preview puis push d'un blueprint

{
  "tool": "push_inventory_blueprint",
  "arguments": { "blueprintId": "bp_a1b2", "dryRun": true }
}
// -> { "diff": { "create": 4, "update": 2, "archive": 1 }, "confirmationToken": "tok_7d4e" }

{
  "tool": "push_inventory_blueprint",
  "arguments": { "blueprintId": "bp_a1b2", "confirmationToken": "tok_7d4e", "dryRun": false }
}

Notes

  • Le dry-run ne crée, ne modifie et n'archive aucune ad unit.
  • Les opérations irréversibles sont listées dans le plan.
  • Le push confirmé conserve le network code attendu dans le contexte du plan.