Display- und Video 360 API Version 2 wird eingestellt. Verwenden Sie Display- und Video 360 API v3. Eine Anleitung zur Migration von Version 2 zu Version 3 finden Sie in unserer Migrationsanleitung.
Es wird eine neue Werbebuchung mit Einstellungen (einschließlich Targeting) erstellt, die vom Anzeigenauftrag und einer ENTITY_STATUS_DRAFTentityStatus übernommen werden. Gibt die neu erstellte Werbebuchung zurück, wenn der Vorgang erfolgreich war. Es gibt Standardwerte für die drei Felder:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-02-25 (UTC)."],[[["Creates a new line item with settings inherited from the insertion order and an `ENTITY_STATUS_DRAFT` entity status."],["YouTube & Partners line items cannot be created or updated using the API."],["The request requires specifying the advertiser ID, insertion order ID, display name, and line item type."],["A successful response returns the created line item."],["Requires authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["This outlines how to create a new line item by sending a POST request to `https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/lineItems:generateDefault`. The request body requires the `insertionOrderId`, `displayName`, and `lineItemType`. The advertiser ID is specified in the path. Optionally `mobileApp` object can be included. Default settings are derived from the insertion order's type and automation type and specified `lineItemType`. The response returns the newly created line item, with `ENTITY_STATUS_DRAFT`, upon success.\n"]]