Google_Service_AdExchangeSeller_Preferreddeals_Resource

The "preferreddeals" collection of methods.

Defined (1)

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

/lib/Google/Service/AdExchangeSeller.php  
  1. class Google_Service_AdExchangeSeller_Preferreddeals_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Get information about the selected Ad Exchange Preferred Deal. 
  5. * (preferreddeals.get) 
  6. * @param string $dealId 
  7. * Preferred deal to get information about. 
  8. * @param array $optParams Optional parameters. 
  9. * @return Google_Service_AdExchangeSeller_PreferredDeal 
  10. */ 
  11. public function get($dealId, $optParams = array()) 
  12. $params = array('dealId' => $dealId); 
  13. $params = array_merge($params, $optParams); 
  14. return $this->call('get', array($params), "Google_Service_AdExchangeSeller_PreferredDeal"); 
  15. /** 
  16. * List the preferred deals for this Ad Exchange account. 
  17. * (preferreddeals.listPreferreddeals) 
  18. * @param array $optParams Optional parameters. 
  19. * @return Google_Service_AdExchangeSeller_PreferredDeals 
  20. */ 
  21. public function listPreferreddeals($optParams = array()) 
  22. $params = array(); 
  23. $params = array_merge($params, $optParams); 
  24. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_PreferredDeals");