Method: advertisers.lineItems.get

  • Display & Video 360 API v3 has sunset and users should use v4 instead.

  • The advertisers.lineItems.get method retrieves a specific line item using a GET HTTP request.

  • Required path parameters for the request are advertiserId and lineItemId.

  • A successful response returns an instance of a LineItem object.

  • The request requires the https://www.googleapis.com/auth/display-video authorization 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.