Google_AccountsUrlchannelsServiceResource

The "urlchannels" collection of methods.

Defined (1)

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

/src/contrib/Google_AdSenseService.php  
  1. class Google_AccountsUrlchannelsServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * List all URL channels in the specified ad client for the specified account. (urlchannels.list) 
  5. * @param string $accountId Account to which the ad client belongs. 
  6. * @param string $adClientId Ad client for which to list URL channels. 
  7. * @param array $optParams Optional parameters. 
  8. * @opt_param int maxResults The maximum number of URL channels to include in the response, used for paging. 
  9. * @opt_param string pageToken A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. 
  10. * @return Google_UrlChannels 
  11. */ 
  12. public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array()) { 
  13. $params = array('accountId' => $accountId, 'adClientId' => $adClientId); 
  14. $params = array_merge($params, $optParams); 
  15. $data = $this->__call('list', array($params)); 
  16. if ($this->useObjects()) { 
  17. return new Google_UrlChannels($data); 
  18. } else { 
  19. return $data;