MonsterInsights_GA_Lib_Service_Webmasters_Urlcrawlerrorscounts_Resource

The "urlcrawlerrorscounts" collection of methods.

Defined (1)

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

/assets/lib/google/src/Google/Service/Webmasters.php  
  1. class MonsterInsights_GA_Lib_Service_Webmasters_Urlcrawlerrorscounts_Resource extends MonsterInsights_GA_Lib_Service_Resource 
  2.  
  3. /** 
  4. * Retrieves a time series of the number of URL crawl errors per error category 
  5. * and platform. (urlcrawlerrorscounts.query) 
  6. * @param string $siteUrl The site's URL, including protocol. For example: 
  7. * http://www.example.com/ 
  8. * @param array $optParams Optional parameters. 
  9. * @opt_param string category The crawl error category. For example: 
  10. * serverError. If not specified, returns results for all categories. 
  11. * @opt_param bool latestCountsOnly If true, returns only the latest crawl error 
  12. * counts. 
  13. * @opt_param string platform The user agent type (platform) that made the 
  14. * request. For example: web. If not specified, returns results for all 
  15. * platforms. 
  16. * @return MonsterInsights_GA_Lib_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse 
  17. */ 
  18. public function query($siteUrl, $optParams = array()) 
  19. $params = array('siteUrl' => $siteUrl); 
  20. $params = array_merge($params, $optParams); 
  21. return $this->call('query', array($params), "MonsterInsights_GA_Lib_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse");