Method: accounts.products.get

  • Retrieves a specific product's information using its unique ID and the buyer's account ID.

  • Requires an empty request body and returns the product details in the response.

  • Utilizes the https://www.googleapis.com/auth/adexchange.buyer OAuth scope for authorization.

  • Employs gRPC Transcoding for URL structure and includes path parameters for account and product IDs.

Gets the requested product by ID.

HTTP request

GET https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/products/{productId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
accountId

string

Account ID of the buyer.

productId

string

The ID for the product to get the head revision for.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Product.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adexchange.buyer