Google_Service_AdExchangeSeller_Accounts_Resource

The "accounts" 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_Accounts_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Get information about the selected Ad Exchange account. (accounts.get) 
  5. * @param string $accountId 
  6. * Account to get information about. Tip: 'myaccount' is a valid ID. 
  7. * @param array $optParams Optional parameters. 
  8. * @return Google_Service_AdExchangeSeller_Account 
  9. */ 
  10. public function get($accountId, $optParams = array()) 
  11. $params = array('accountId' => $accountId); 
  12. $params = array_merge($params, $optParams); 
  13. return $this->call('get', array($params), "Google_Service_AdExchangeSeller_Account"); 
  14. /** 
  15. * List all accounts available to this Ad Exchange account. 
  16. * (accounts.listAccounts) 
  17. * @param array $optParams Optional parameters. 
  18. * @opt_param string pageToken 
  19. * A continuation token, used to page through accounts. To retrieve the next page, set this 
  20. * parameter to the value of "nextPageToken" from the previous response. 
  21. * @opt_param int maxResults 
  22. * The maximum number of accounts to include in the response, used for paging. 
  23. * @return Google_Service_AdExchangeSeller_Accounts 
  24. */ 
  25. public function listAccounts($optParams = array()) 
  26. $params = array(); 
  27. $params = array_merge($params, $optParams); 
  28. return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Accounts");