AI-generated Key Takeaways
-
Display & Video 360 API v1 has been sunset.
-
This document details how to retrieve a specific line item using a GET request to the Display & Video 360 API.
-
The API endpoint requires both the advertiserId and lineItemId as path parameters.
-
A successful request will return a LineItem instance in the response body.
-
The request requires authorization using the
https://www.googleapis.com/auth/display-video
OAuth scope.
Gets a line item.
HTTP request
GET https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/lineItems/{lineItemId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
advertiserId |
Required. The ID of the advertiser this line item belongs to. |
lineItemId |
Required. The ID of the line item to fetch. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of LineItem
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.