Method: accounts.products.get

  • This document describes how to get a specific product by ID using an HTTP GET request.

  • The request URL requires accountId and productId as path parameters.

  • The request body should be empty, and a successful response contains a Product instance.

  • Authorization is required using the https://www.googleapis.com/auth/adexchange.buyer OAuth scope.

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