GoogleGAL_Service_AdExchangeBuyer_DirectDeals_Resource

The "directDeals" collection of methods.

Defined (1)

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

/core/Google/Service/AdExchangeBuyer.php  
  1. class GoogleGAL_Service_AdExchangeBuyer_DirectDeals_Resource extends GoogleGAL_Service_Resource 
  2.  
  3. /** 
  4. * Gets one direct deal by ID. (directDeals.get) 
  5. * @param string $id The direct deal id 
  6. * @param array $optParams Optional parameters. 
  7. * @return GoogleGAL_Service_AdExchangeBuyer_DirectDeal 
  8. */ 
  9. public function get($id, $optParams = array()) 
  10. $params = array('id' => $id); 
  11. $params = array_merge($params, $optParams); 
  12. return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeBuyer_DirectDeal"); 
  13.  
  14. /** 
  15. * Retrieves the authenticated user's list of direct deals. 
  16. * (directDeals.listDirectDeals) 
  17. * @param array $optParams Optional parameters. 
  18. * @return GoogleGAL_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), "GoogleGAL_Service_AdExchangeBuyer_DirectDealsList");