google_AdclientsServiceResource

The "adclients" collection of methods.

Defined (2)

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

/google-api-php-client/src/contrib/Google_AdExchangeSellerService.php  
  1. class google_AdclientsServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * List all ad clients in this Ad Exchange account. (adclients.list) 
  5. * @param array $optParams Optional parameters. 
  6. * @opt_param string maxResults The maximum number of ad clients to include in the response, used for paging. 
  7. * @opt_param string pageToken A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. 
  8. * @return google_AdClients 
  9. */ 
  10. public function listAdclients($optParams = array()) { 
  11. $params = array(); 
  12. $params = array_merge($params, $optParams); 
  13. $data = $this->__call('list', array($params)); 
  14. if ($this->useObjects()) { 
  15. return new google_AdClients($data); 
  16. } else { 
  17. return $data; 
/google-api-php-client/src/contrib/Google_AdsensehostService.php  
  1. class Google_AdclientsServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * Get information about one of the ad clients in the Host AdSense account. (adclients.get) 
  5. * @param string $adClientId Ad client to get. 
  6. * @param array $optParams Optional parameters. 
  7. * @return Google_AdClient 
  8. */ 
  9. public function get($adClientId, $optParams = array()) { 
  10. $params = array('adClientId' => $adClientId); 
  11. $params = array_merge($params, $optParams); 
  12. $data = $this->__call('get', array($params)); 
  13. if ($this->useObjects()) { 
  14. return new Google_AdClient($data); 
  15. } else { 
  16. return $data; 
  17. /** 
  18. * List all host ad clients in this AdSense account. (adclients.list) 
  19. * @param array $optParams Optional parameters. 
  20. * @opt_param string maxResults The maximum number of ad clients to include in the response, used for paging. 
  21. * @opt_param string pageToken A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. 
  22. * @return Google_AdClients 
  23. */ 
  24. public function listAdclients($optParams = array()) { 
  25. $params = array(); 
  26. $params = array_merge($params, $optParams); 
  27. $data = $this->__call('list', array($params)); 
  28. if ($this->useObjects()) { 
  29. return new Google_AdClients($data); 
  30. } else { 
  31. return $data;