Google_Service_AdSense_AccountsAdunitsCustomchannels_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_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 
  7. * Account to which the ad client belongs. 
  8. * @param string $adClientId 
  9. * Ad client which contains the ad unit. 
  10. * @param string $adUnitId 
  11. * Ad unit for which to list custom channels. 
  12. * @param array $optParams Optional parameters. 
  13. * @opt_param string pageToken 
  14. * A continuation token, used to page through custom channels. To retrieve the next page, set this 
  15. * parameter to the value of "nextPageToken" from the previous response. 
  16. * @opt_param int maxResults 
  17. * The maximum number of custom channels to include in the response, used for paging. 
  18. * @return Google_Service_AdSense_CustomChannels 
  19. */ 
  20. public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array()) 
  21. $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); 
  22. $params = array_merge($params, $optParams); 
  23. return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels");