AI-generated Key Takeaways
-
The HTTP request to get a line item uses a GET method with a specific URL structure containing the advertiser and line item IDs.
-
Path parameters include the required advertiserId and lineItemId, both formatted as strings representing int64.
-
The request body must be empty.
-
A successful response body will contain an instance of a LineItem object.
-
Authorization requires the
https://www.googleapis.com/auth/display-video
OAuth scope.
Gets a line item.
HTTP request
GET https://displayvideo.googleapis.com/v4/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.