GoogleGAL_Service_AdSense_AccountsUrlchannels_Resource

The "urlchannels" collection of methods.

Defined (1)

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

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