Google_Service_AdExchangeBuyer_DirectDeals_Resource

The "directDeals" collection of methods.

Defined (1)

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

/lib/Google/Service/AdExchangeBuyer.php  
  1. class Google_Service_AdExchangeBuyer_DirectDeals_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Gets one direct deal by ID. (directDeals.get) 
  5. * @param string $id 
  6. * The direct deal id 
  7. * @param array $optParams Optional parameters. 
  8. * @return Google_Service_AdExchangeBuyer_DirectDeal 
  9. */ 
  10. public function get($id, $optParams = array()) 
  11. $params = array('id' => $id); 
  12. $params = array_merge($params, $optParams); 
  13. return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_DirectDeal"); 
  14. /** 
  15. * Retrieves the authenticated user's list of direct deals. 
  16. * (directDeals.listDirectDeals) 
  17. * @param array $optParams Optional parameters. 
  18. * @return Google_Service_AdExchangeBuyer_DirectDealsList 
  19. */ 
  20. public function listDirectDeals($optParams = array()) 
  21. $params = array(); 
  22. $params = array_merge($params, $optParams); 
  23. return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_DirectDealsList");