google_AlertsServiceResource

The "alerts" collection of methods.

Defined (2)

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

/src/contrib/Google_AdExchangeSellerService.php  
  1. class google_AlertsServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * List the alerts for this Ad Exchange account. (alerts.list) 
  5. * @param array $optParams Optional parameters. 
  6. * @opt_param string locale The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported. 
  7. * @return google_Alerts 
  8. */ 
  9. public function listAlerts($optParams = array()) { 
  10. $params = array(); 
  11. $params = array_merge($params, $optParams); 
  12. $data = $this->__call('list', array($params)); 
  13. if ($this->useObjects()) { 
  14. return new google_Alerts($data); 
  15. } else { 
  16. return $data; 
/src/contrib/Google_AdSenseService.php  
  1. class Google_AlertsServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * List the alerts for this AdSense account. (alerts.list) 
  5. * @param array $optParams Optional parameters. 
  6. * @opt_param string locale The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported. 
  7. * @return Google_Alerts 
  8. */ 
  9. public function listAlerts($optParams = array()) { 
  10. $params = array(); 
  11. $params = array_merge($params, $optParams); 
  12. $data = $this->__call('list', array($params)); 
  13. if ($this->useObjects()) { 
  14. return new Google_Alerts($data); 
  15. } else { 
  16. return $data;