Google_Service_AdSense_AdunitsCustomchannels_Resource

The "customchannels" collection of methods.

Defined (1)

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

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