Gründe, warum der Upload nicht abgeschlossen werden kann.
uploadStatus.rowStatus[]
list
Uploadstatus pro Zeile.
uploadStatus.rowStatus[].rowNumber
integer
Zeilennummer
uploadStatus.rowStatus[].entityId
long
Entitäts-ID.
uploadStatus.rowStatus[].entityName
string
Name der Entität.
uploadStatus.rowStatus[].changed
boolean
Gibt an, ob die gespeicherte Entität infolge des Uploads geändert wird.
uploadStatus.rowStatus[].persisted
boolean
Gibt an, ob die Entität persistent ist.
uploadStatus.rowStatus[].errors[]
list
Gründe, warum die Entität nicht hochgeladen werden kann.
Testen!
Verwenden Sie den unten angegebenen APIs Explorer, um diese Methode für Livedaten aufzurufen und die Antwort einzusehen.
Alternativ können Sie den
eigenständig
Explorer:
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003eThe Line Items Settings service in Bid Manager API is discontinued and users should transition to the DV360 API.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation details the process for uploading line items in CSV format using the \u003ccode\u003euploadlineitems\u003c/code\u003e endpoint in the Bid Manager API, though YouTube & partners line items are not supported.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclickbidmanager\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides options to perform a dry run to check upload status without persisting data and returns detailed upload status including errors and per-row information.\u003c/p\u003e\n"]]],["The Bid Manager API's Line Items Settings service is discontinued; users must switch to the DV360 API. The `uploadlineitems` method allows uploading line items in CSV format, excluding YouTube & partners line items. It accepts a request body with `lineItems` (CSV data), `format` (defaulting to CSV), and `dryRun` (boolean for testing). The response details upload status, including errors and per-row information like row number, entity details, and persistence status. Authorization via `https://www.googleapis.com/auth/doubleclickbidmanager` is required.\n"],null,["# Lineitems: uploadlineitems\n\nThe Line Items Settings service of the Bid Manager API has been sunset. Users must migrate to the [DV360 API](/display-video/api/reference/rest). \n| **Note:** Requires [authorization](#auth).\n\nUploads line items in CSV format. YouTube \\& partners line items are not supported.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/doubleclickbidmanager/v1.1/lineitems/uploadlineitems\n```\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|---------------------------------------------------------|\n| `https://www.googleapis.com/auth/doubleclickbidmanager` |\n\nFor more information, see the [authentication and authorization](/bid-manager/how-tos/authorizing) page.\n\n### Request body\n\nIn the request body, supply data with the following structure:\n\n```text\n{\n \"lineItems\": string,\n \"format\": string,\n \"dryRun\": boolean\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------|-----------|------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `lineItems` | `string` | Line items in CSV to upload. For more information about file formats, see [Entity Write File Format](/bid-manager/guides/entity-write/format). | |\n| `format` | `string` | Format the line items are in. Default to `CSV`. \u003cbr /\u003e Acceptable values are: - \"`CSV`\" | |\n| `dryRun` | `boolean` | Set to `true` to get upload status without actually persisting the line items. | |\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```gdscript\n{\n \"uploadStatus\": {\n \"errors\": [\n string\n ],\n \"rowStatus\": [\n {\n \"rowNumber\": integer,\n \"entityId\": long,\n \"entityName\": string,\n \"changed\": boolean,\n \"persisted\": boolean,\n \"errors\": [\n string\n ]\n }\n ]\n }\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------------------------------|-----------------|-------------------------------------------------------------|-------|\n| `uploadStatus` | `nested object` | Status of upload. | |\n| uploadStatus.`errors[]` | `list` | Reasons why upload can't be completed. | |\n| uploadStatus.`rowStatus[]` | `list` | Per-row upload status. | |\n| uploadStatus.rowStatus[].`rowNumber` | `integer` | Row number. | |\n| uploadStatus.rowStatus[].`entityId` | `long` | Entity Id. | |\n| uploadStatus.rowStatus[].`entityName` | `string` | Entity name. | |\n| uploadStatus.rowStatus[].`changed` | `boolean` | Whether the stored entity is changed as a result of upload. | |\n| uploadStatus.rowStatus[].`persisted` | `boolean` | Whether the entity is persisted. | |\n| uploadStatus.rowStatus[].`errors[]` | `list` | Reasons why the entity can't be uploaded. | |\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/doubleclickbidmanager/v1.1/doubleclickbidmanager.lineitems.uploadlineitems)."]]