Google_Service_AdSense_AccountsAdclients_Resource

The "adclients" collection of methods.

Defined (1)

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

/vendor/google/apiclient/src/Google/Service/AdSense.php  
  1. class Google_Service_AdSense_AccountsAdclients_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * List all ad clients in the specified account. 
  5. * (adclients.listAccountsAdclients) 
  6. * @param string $accountId Account for which to list ad clients. 
  7. * @param array $optParams Optional parameters. 
  8. * @opt_param int maxResults The maximum number of ad clients to include in the 
  9. * response, used for paging. 
  10. * @opt_param string pageToken A continuation token, used to page through ad 
  11. * clients. To retrieve the next page, set this parameter to the value of 
  12. * "nextPageToken" from the previous response. 
  13. * @return Google_Service_AdSense_AdClients 
  14. */ 
  15. public function listAccountsAdclients($accountId, $optParams = array()) 
  16. $params = array('accountId' => $accountId); 
  17. $params = array_merge($params, $optParams); 
  18. return $this->call('list', array($params), "Google_Service_AdSense_AdClients");