Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource

The "adunits" collection of methods.

Defined (1)

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

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