Display & Video 360 API v2 غروب است. به جای آن از Display & Video 360 API v3 استفاده کنید. برای دستورالعملهای انتقال نسخه 2 به نسخه 3، راهنمای مهاجرت ما را ببینید.
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["Display & Video 360 API v1 is deprecated and users should refer to the documentation for the latest version."],["This documentation details how to create a new line item using the API, including the request and response format."],["The API requires specific authorization with the `https://www.googleapis.com/auth/display-video` scope."],["Successful requests will return the newly created line item object with all its associated properties."]]],["The content describes the process of creating a new line item via an API. It details that the Display & Video 360 API v1 is no longer available and outlines the necessary steps for line item creation. A `POST` request is sent to `https://displayvideo.googleapis.com/v1/advertisers/{lineItem.advertiserId}/lineItems`, with the `lineItem.advertiserId` as a path parameter. The request body includes a `LineItem` instance, and a successful response returns a new `LineItem` instance. This action requires the OAuth scope `https://www.googleapis.com/auth/display-video`.\n"]]