google_AdunitsCustomchannelsServiceResource
The "customchannels" collection of methods.
Defined (2)
The class is defined in the following location(s).
- /src/contrib/Google_AdExchangeSellerService.php
- class google_AdunitsCustomchannelsServiceResource extends Google_ServiceResource {
- /**
- * List all custom channels which the specified ad unit belongs to.
- * (customchannels.list)
- *
- * @param string $adClientId Ad client which contains the ad unit.
- * @param string $adUnitId Ad unit for which to list custom channels.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxResults The maximum number of custom channels to include in the response, used for paging.
- * @opt_param string pageToken A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.
- * @return google_CustomChannels
- */
- public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array()) {
- $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
- $params = array_merge($params, $optParams);
- $data = $this->__call('list', array($params));
- if ($this->useObjects()) {
- return new google_CustomChannels($data);
- } else {
- return $data;
- }
- }
- }
- /src/contrib/Google_AdSenseService.php
- class Google_AdunitsCustomchannelsServiceResource extends Google_ServiceResource {
- /**
- * List all custom channels which the specified ad unit belongs to. (customchannels.list)
- *
- * @param string $adClientId Ad client which contains the ad unit.
- * @param string $adUnitId Ad unit for which to list custom channels.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int maxResults The maximum number of custom channels to include in the response, used for paging.
- * @opt_param string pageToken A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.
- * @return Google_CustomChannels
- */
- public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array()) {
- $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
- $params = array_merge($params, $optParams);
- $data = $this->__call('list', array($params));
- if ($this->useObjects()) {
- return new Google_CustomChannels($data);
- } else {
- return $data;
- }
- }
- }