Google_Service_AdSenseHost_Adclients_Resource

The "adclients" collection of methods.

Defined (1)

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

/lib/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 
  7. * Ad client to get. 
  8. * @param array $optParams Optional parameters. 
  9. * @return Google_Service_AdSenseHost_AdClient 
  10. */ 
  11. public function get($adClientId, $optParams = array()) 
  12. $params = array('adClientId' => $adClientId); 
  13. $params = array_merge($params, $optParams); 
  14. return $this->call('get', array($params), "Google_Service_AdSenseHost_AdClient"); 
  15. /** 
  16. * List all host ad clients in this AdSense account. (adclients.listAdclients) 
  17. * @param array $optParams Optional parameters. 
  18. * @opt_param string pageToken 
  19. * A continuation token, used to page through ad clients. To retrieve the next page, set this 
  20. * parameter to the value of "nextPageToken" from the previous response. 
  21. * @opt_param string maxResults 
  22. * The maximum number of ad clients to include in the response, used for paging. 
  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");