Mulai 8 September 2025, setiap item baris baru harus menyatakan apakah item baris tersebut akan menayangkan iklan politik Uni Eropa (EU) atau tidak. Upload SDF dan API Display & Video 360 yang tidak memberikan pernyataan akan gagal. Lihat halaman penghentian penggunaan kami untuk mengetahui detail selengkapnya tentang cara memperbarui integrasi Anda untuk membuat pernyataan ini.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eCreates a new Display & Video 360 line item with the provided details.\u003c/p\u003e\n"],["\u003cp\u003eYouTube & Partners line items are not supported through this API.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eSends a POST request to the specified endpoint with the line item data in the request body.\u003c/p\u003e\n"],["\u003cp\u003eReturns the newly created line item object in the response if successful.\u003c/p\u003e\n"]]],["This document details how to create a new line item via an API. A `POST` request is sent to `https://displayvideo.googleapis.com/v3/advertisers/{lineItem.advertiserId}/lineItems`, using a `lineItem.advertiserId` path parameter which is a unique advertiser ID. The request body must contain a `LineItem` instance. A successful request returns a new `LineItem` instance in the response body. This process needs the `https://www.googleapis.com/auth/display-video` OAuth scope for authorization. Note that YouTube & Partners line items are not supported by this method.\n"],null,["# Method: advertisers.lineItems.create\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a new line item. Returns the newly created line item if successful.\n\nYouTube \\& Partners line items cannot be created or updated using the API.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v3/advertisers/{lineItem.advertiserId}/lineItems`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `lineItem.advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the advertiser the line item belongs to. |\n\n### Request body\n\nThe request body contains an instance of [LineItem](/display-video/api/reference/rest/v3/advertisers.lineItems#LineItem).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [LineItem](/display-video/api/reference/rest/v3/advertisers.lineItems#LineItem).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]