Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource

The "customchannels" collection of methods.

Defined (1)

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

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