Method: advertisers.lineItems.get

  • Retrieves a specific line item belonging to a designated advertiser using a GET request.

  • Requires specifying the advertiser ID and line item ID as path parameters in the request URL.

  • Returns a LineItem object containing information about the requested line item if successful.

  • Needs authorization with the https://www.googleapis.com/auth/display-video scope.

Gets a line item.

HTTP request

GET https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/lineItems/{lineItemId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the advertiser this line item belongs to.

lineItemId

string (int64 format)

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.