Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource

The "preferreddeals" collection of methods.

Defined (1)

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

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