GoogleGAL_Service_AdSense_AdunitsCustomchannels_Resource

The "customchannels" collection of methods.

Defined (1)

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

/core/Google/Service/AdSense.php  
  1. class GoogleGAL_Service_AdSense_AdunitsCustomchannels_Resource extends GoogleGAL_Service_Resource 
  2.  
  3. /** 
  4. * List all custom channels which the specified ad unit belongs to. 
  5. * (customchannels.listAdunitsCustomchannels) 
  6. * @param string $adClientId Ad client which contains the ad unit. 
  7. * @param string $adUnitId Ad unit for which to list custom channels. 
  8. * @param array $optParams Optional parameters. 
  9. * @opt_param string pageToken A continuation token, used to page through custom 
  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 custom channels to include in 
  13. * the response, used for paging. 
  14. * @return GoogleGAL_Service_AdSense_CustomChannels 
  15. */ 
  16. public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array()) 
  17. $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); 
  18. $params = array_merge($params, $optParams); 
  19. return $this->call('list', array($params), "GoogleGAL_Service_AdSense_CustomChannels");