class AccountsProducts extends Resource (View source)

The "products" collection of methods.

Typical usage is:

 $adexchangebuyer2Service = new Google\Service\AdExchangeBuyerII(...);
 $products = $adexchangebuyer2Service->accounts_products;

Methods

get(string $accountId, string $productId, array $optParams = [])

Gets the requested product by ID. (products.get)

listAccountsProducts(string $accountId, array $optParams = [])

List all products visible to the buyer (optionally filtered by the specified PQL query). (products.listAccountsProducts)

Details

Product get(string $accountId, string $productId, array $optParams = [])

Gets the requested product by ID. (products.get)

Parameters

string $accountId

Account ID of the buyer.

string $productId

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

array $optParams

Optional parameters.

Return Value

Product

Exceptions

Exception

ListProductsResponse listAccountsProducts(string $accountId, array $optParams = [])

List all products visible to the buyer (optionally filtered by the specified PQL query). (products.listAccountsProducts)

Parameters

string $accountId

Account ID of the buyer.

array $optParams

Optional parameters.

Return Value

ListProductsResponse

Exceptions

Exception