Google_Service_AdExchangeBuyer_Products_Resource

The "products" collection of methods.

Defined (1)

The class is defined in the following location(s).

/vendor/google/apiclient/src/Google/Service/AdExchangeBuyer.php  
  1. class Google_Service_AdExchangeBuyer_Products_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Gets the requested product by id. (products.get) 
  5. * @param string $productId The id for the product to get the head revision for. 
  6. * @param array $optParams Optional parameters. 
  7. * @return Google_Service_AdExchangeBuyer_Product 
  8. */ 
  9. public function get($productId, $optParams = array()) 
  10. $params = array('productId' => $productId); 
  11. $params = array_merge($params, $optParams); 
  12. return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Product"); 
  13.  
  14. /** 
  15. * Gets the requested product. (products.search) 
  16. * @param array $optParams Optional parameters. 
  17. * @opt_param string pqlQuery The pql query used to query for products. 
  18. * @return Google_Service_AdExchangeBuyer_GetOffersResponse 
  19. */ 
  20. public function search($optParams = array()) 
  21. $params = array(); 
  22. $params = array_merge($params, $optParams); 
  23. return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOffersResponse");