google-webmaster-tools

Google Webmaster Tools API: Downloading queries via OAUTH2

时光怂恿深爱的人放手 提交于 2019-12-05 17:42:09
I'm trying to use Google's Webmaster Tools API to download a CSV file of recent search queries. I know how to do that using their Python example at http://googlewebmastercentral.blogspot.com/2011/12/download-search-queries-data-using.html But I want to use OAUTH2. Here's the problem: The download url for CSV downloads is: /webmasters/tools/downloads-list?hl=%s&siteUrl=%s But the Google data API only lets me use OAUTH2 against: /webmasters/tools/feeds/sites/ So the token I get when I authenticate doesn't provide access. It SEEMS insane that they'd have some of their data available via OAUTH2

Schema.org setup for related products?

╄→尐↘猪︶ㄣ 提交于 2019-12-04 14:37:19
I would like to setup Schema.org markup for related products. I have tried this code but I have doubt in my mind: itemprop="isRelatedTo" itemscope itemtype="http://schema.org/Product" My product page is https://www.amigotrekking.com/everest-base-camp-trek.html If it’s a "functionally similar" product, use the isSimilarTo property. If it’s a "consumable" for another product, use the isConsumableFor property. If it’s an "accessory or spare part" for another product, use the isAccessoryOrSparePartFor property. If it’s a "somehow related" product, use the isRelatedTo property. So for a related

Testing Escaped Fragment Search with Webmaster Tools

◇◆丶佛笑我妖孽 提交于 2019-12-04 05:51:53
My site is in AngularJS, so I recently created HTML snapshots of all my content, added the escaped fragment tag to the head of all my pages (meta name="fragment" content="!"), and then tried to test to see if the new setup was working in Webmaster Tools. When I look in the source I see the escaped fragment (however, it's inverted) (meta content="!" name="fragment"). I'm not sure why that's happening or if that matters... When I submit a URL to "Fetch as Google," Webmaster Tools returns Fetch Status Not Found. However, if I manually add "?_escaped_fragment_=" to the end of my URL, I get a

Google Webmasters API for Java returns empty site list

落花浮王杯 提交于 2019-12-04 03:53:47
I have written a simple site list query code which uses Oauth with service account based on Google's documentation . The authentication key file (.p12) being used is valid as well as the account. The problem is that sites list method returns an empty list. service.sites().list().execute(); Also if I explicitly try to get sitemaps of a validated site, by calling service.sitemaps().list("my.sample.site.com").execute(); I got a 403 Forbidden - "User does not have sufficient permission for site 'sample.site.com'. See also: https://support.google.com/webmasters/answer/2451999 ." error from the API.

Sitemap for a site with a large number of dynamic subdomains

房东的猫 提交于 2019-12-03 13:33:43
问题 I'm running a site which allows users to create subdomains. I'd like to submit these user subdomains to search engines via sitemaps. However, according to the sitemaps protocol (and Google Webmaster Tools), a single sitemap can include URLs from a single host only. What is the best approach? At the moment I've the following structure: Sitemap index located at example.com/sitemap-index.xml that lists sitemaps for each subdomain (but located at the same host). Each subdomain has its own sitemap

Sitemap for a site with a large number of dynamic subdomains

与世无争的帅哥 提交于 2019-12-03 02:52:20
I'm running a site which allows users to create subdomains. I'd like to submit these user subdomains to search engines via sitemaps. However, according to the sitemaps protocol (and Google Webmaster Tools), a single sitemap can include URLs from a single host only. What is the best approach? At the moment I've the following structure: Sitemap index located at example.com/sitemap-index.xml that lists sitemaps for each subdomain (but located at the same host). Each subdomain has its own sitemap located at example.com/sitemap-subdomain.xml (this way the sitemap index includes URLs from a single

Webmaster API v3: getting servingLimitExceeded using batch requests

假如想象 提交于 2019-12-02 18:15:42
问题 I'm getting the servingLimitExceeded error message for results within batch but not for an entire batch. For example, I may get 100 records responding with this error and then it starts returning more results. All within the a single batch. If batches are handled internally by Google API, how can I adjust them to not hit the rate limit? I tried adding a 1-second delay between batches but that doesn't change this. I also set retries = 3 on the Ruby client, but I don't know if that means it

Webmaster API v3: getting servingLimitExceeded using batch requests

戏子无情 提交于 2019-12-02 10:59:11
I'm getting the servingLimitExceeded error message for results within batch but not for an entire batch. For example, I may get 100 records responding with this error and then it starts returning more results. All within the a single batch. If batches are handled internally by Google API, how can I adjust them to not hit the rate limit? I tried adding a 1-second delay between batches but that doesn't change this. I also set retries = 3 on the Ruby client, but I don't know if that means it retries a failed batch. I don't think it's retrying individual API calls within the batch, because the

AMP error: Missing supported structured data element

試著忘記壹切 提交于 2019-12-01 07:38:08
I have an aggregator site for books. I created dedicated AMP (Accelerated Mobile Page) for each book. Example AMP URL: http://konyvar.hu/amp/nicholas-sparks/az-utolso-dal Example canonical URL: http://konyvar.hu/nicholas-sparks/az-utolso-dal In Google Webmaster Tools, I see the following error for this page: Missing supported structured data element Google offers me to Open Test Tool , but it says: All good Please help me, I have no idea, what I'm doing wrong. Am looking at http://konyvar.hu/amp/nicholas-sparks/az-utolso-dal . I think you'll need to declare the AMP page as a NewsArticle or

AMP error: Missing supported structured data element

一笑奈何 提交于 2019-12-01 04:12:55
问题 I have an aggregator site for books. I created dedicated AMP (Accelerated Mobile Page) for each book. Example AMP URL: http://konyvar.hu/amp/nicholas-sparks/az-utolso-dal Example canonical URL: http://konyvar.hu/nicholas-sparks/az-utolso-dal In Google Webmaster Tools, I see the following error for this page: Missing supported structured data element Google offers me to Open Test Tool, but it says: All good Please help me, I have no idea, what I'm doing wrong. 回答1: Am looking at http://konyvar