GoogleGAL_Service_AdSense_CustomchannelsAdunits_Resource

The "adunits" collection of methods.

Defined (1)

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

/core/Google/Service/AdSense.php  
  1. class GoogleGAL_Service_AdSense_CustomchannelsAdunits_Resource extends GoogleGAL_Service_Resource 
  2.  
  3. /** 
  4. * List all ad units in the specified custom channel. 
  5. * (adunits.listCustomchannelsAdunits) 
  6. * @param string $adClientId Ad client which contains the custom channel. 
  7. * @param string $customChannelId Custom channel for which to list ad units. 
  8. * @param array $optParams Optional parameters. 
  9. * @opt_param bool includeInactive Whether to include inactive ad units. 
  10. * Default: true. 
  11. * @opt_param string pageToken A continuation token, used to page through ad 
  12. * units. To retrieve the next page, set this parameter to the value of 
  13. * "nextPageToken" from the previous response. 
  14. * @opt_param int maxResults The maximum number of ad units to include in the 
  15. * response, used for paging. 
  16. * @return GoogleGAL_Service_AdSense_AdUnits 
  17. */ 
  18. public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array()) 
  19. $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); 
  20. $params = array_merge($params, $optParams); 
  21. return $this->call('list', array($params), "GoogleGAL_Service_AdSense_AdUnits");