Google_Service_AdSenseHost_Adclients_Resource

The "adclients" collection of methods.

Defined (1)

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

/vendor/google/apiclient/src/Google/Service/AdSenseHost.php  
  1. class Google_Service_AdSenseHost_Adclients_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Get information about one of the ad clients in the Host AdSense account. 
  5. * (adclients.get) 
  6. * @param string $adClientId Ad client to get. 
  7. * @param array $optParams Optional parameters. 
  8. * @return Google_Service_AdSenseHost_AdClient 
  9. */ 
  10. public function get($adClientId, $optParams = array()) 
  11. $params = array('adClientId' => $adClientId); 
  12. $params = array_merge($params, $optParams); 
  13. return $this->call('get', array($params), "Google_Service_AdSenseHost_AdClient"); 
  14.  
  15. /** 
  16. * List all host ad clients in this AdSense account. (adclients.listAdclients) 
  17. * @param array $optParams Optional parameters. 
  18. * @opt_param string maxResults The maximum number of ad clients to include in 
  19. * the response, used for paging. 
  20. * @opt_param string pageToken A continuation token, used to page through ad 
  21. * clients. To retrieve the next page, set this parameter to the value of 
  22. * "nextPageToken" from the previous response. 
  23. * @return Google_Service_AdSenseHost_AdClients 
  24. */ 
  25. public function listAdclients($optParams = array()) 
  26. $params = array(); 
  27. $params = array_merge($params, $optParams); 
  28. return $this->call('list', array($params), "Google_Service_AdSenseHost_AdClients");