<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: Automatically Download Google Search Analytics Data Every Month [Updated for New API]	</title>
	<atom:link href="https://searchwilderness.com/gwmt-data-python/feed/" rel="self" type="application/rss+xml" />
	<link>https://searchwilderness.com/gwmt-data-python/</link>
	<description>Technical SEO is Wild</description>
	<lastBuildDate>Thu, 28 Jan 2016 21:00:48 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Josh		</title>
		<link>https://searchwilderness.com/gwmt-data-python/#comment-15602</link>

		<dc:creator><![CDATA[Josh]]></dc:creator>
		<pubDate>Wed, 06 Jan 2016 22:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://searchwilderness.com/?p=3547#comment-15602</guid>

					<description><![CDATA[What about the ability to write &quot;top queries&quot; to one file/table and writing &quot;top pages&quot; to a separate file/table. How would your script need to be modified to accomplish that task.]]></description>
			<content:encoded><![CDATA[<p>What about the ability to write &#8220;top queries&#8221; to one file/table and writing &#8220;top pages&#8221; to a separate file/table. How would your script need to be modified to accomplish that task.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael		</title>
		<link>https://searchwilderness.com/gwmt-data-python/#comment-15547</link>

		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Mon, 21 Dec 2015 11:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://searchwilderness.com/?p=3547#comment-15547</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://searchwilderness.com/gwmt-data-python/#comment-15546&quot;&gt;Michael&lt;/a&gt;.

Looks like the error message from the previous post was stripped because of its brackets. Here it is again:

HttpError 403 when requesting https://www.googleapis.com/webmasters/v3/sites/{URL}/query?alt=json returned &quot;User does not have sufficient permission for site &#039;{URL}&#039;. See also: https://support.google.com/webmasters/answer/2451999.&quot;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://searchwilderness.com/gwmt-data-python/#comment-15546">Michael</a>.</p>
<p>Looks like the error message from the previous post was stripped because of its brackets. Here it is again:</p>
<p>HttpError 403 when requesting <a href="https://www.googleapis.com/webmasters/v3/sites/" rel="nofollow ugc">https://www.googleapis.com/webmasters/v3/sites/</a>{URL}/query?alt=json returned &#8220;User does not have sufficient permission for site &#8216;{URL}&#8217;. See also: <a href="https://support.google.com/webmasters/answer/2451999" rel="nofollow ugc">https://support.google.com/webmasters/answer/2451999</a>.&#8221;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael		</title>
		<link>https://searchwilderness.com/gwmt-data-python/#comment-15546</link>

		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Mon, 21 Dec 2015 11:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://searchwilderness.com/?p=3547#comment-15546</guid>

					<description><![CDATA[Hey, thanks for providing the script. I got the updated version to work without much hassle, but am still facing a problem. For most URLs, I get the following error message:

googleapiclient.errors.HttpError: 

It seems to be working for home pages only. For example, I can access the data for http://www.example.com/, but will receive the given error message for http://www.example.com/directory/index.html. Does anyone have an idea why that is and what to do about it?]]></description>
			<content:encoded><![CDATA[<p>Hey, thanks for providing the script. I got the updated version to work without much hassle, but am still facing a problem. For most URLs, I get the following error message:</p>
<p>googleapiclient.errors.HttpError: </p>
<p>It seems to be working for home pages only. For example, I can access the data for <a href="http://www.example.com/" rel="nofollow ugc">http://www.example.com/</a>, but will receive the given error message for <a href="http://www.example.com/directory/index.html" rel="nofollow ugc">http://www.example.com/directory/index.html</a>. Does anyone have an idea why that is and what to do about it?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Danny Chan		</title>
		<link>https://searchwilderness.com/gwmt-data-python/#comment-15171</link>

		<dc:creator><![CDATA[Danny Chan]]></dc:creator>
		<pubDate>Tue, 03 Nov 2015 19:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://searchwilderness.com/?p=3547#comment-15171</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://searchwilderness.com/gwmt-data-python/#comment-12204&quot;&gt;Paul Shapiro&lt;/a&gt;.

I have a question about this statement. Using the Acquisition-&#062;Search Engine Optimization-&#062;Queries report in Google Analytics, I get slightly different results than the Keywords tool in Search Console, specifically for CTR. 

Any ideas why?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://searchwilderness.com/gwmt-data-python/#comment-12204">Paul Shapiro</a>.</p>
<p>I have a question about this statement. Using the Acquisition-&gt;Search Engine Optimization-&gt;Queries report in Google Analytics, I get slightly different results than the Keywords tool in Search Console, specifically for CTR. </p>
<p>Any ideas why?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Paul Shapiro		</title>
		<link>https://searchwilderness.com/gwmt-data-python/#comment-14659</link>

		<dc:creator><![CDATA[Paul Shapiro]]></dc:creator>
		<pubDate>Thu, 15 Oct 2015 14:35:39 +0000</pubDate>
		<guid isPermaLink="false">http://searchwilderness.com/?p=3547#comment-14659</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://searchwilderness.com/gwmt-data-python/#comment-14650&quot;&gt;Alex&lt;/a&gt;.

Nice Alex. Anyone needing to download to CSV can use your script. My script actually dumps to CSV and then writes to SQL, but I think people will appreciate not having to modify/write their own code :-)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://searchwilderness.com/gwmt-data-python/#comment-14650">Alex</a>.</p>
<p>Nice Alex. Anyone needing to download to CSV can use your script. My script actually dumps to CSV and then writes to SQL, but I think people will appreciate not having to modify/write their own code 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://searchwilderness.com/gwmt-data-python/#comment-14652</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 15 Oct 2015 06:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://searchwilderness.com/?p=3547#comment-14652</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://searchwilderness.com/gwmt-data-python/#comment-14562&quot;&gt;Adrian Palacios&lt;/a&gt;.

Yep. client_secrets.json is opened on init(). Check line 76 of source code: https://github.com/google/google-api-python-client/blob/master/googleapiclient/sample_tools.py]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://searchwilderness.com/gwmt-data-python/#comment-14562">Adrian Palacios</a>.</p>
<p>Yep. client_secrets.json is opened on init(). Check line 76 of source code: <a href="https://github.com/google/google-api-python-client/blob/master/googleapiclient/sample_tools.py" rel="nofollow ugc">https://github.com/google/google-api-python-client/blob/master/googleapiclient/sample_tools.py</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://searchwilderness.com/gwmt-data-python/#comment-14650</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 15 Oct 2015 06:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://searchwilderness.com/?p=3547#comment-14650</guid>

					<description><![CDATA[Nice job! But may be using mysql is overhead. I&#039;ve tried Search Console API. Check my code if you&#039;re interested in it: https://www.ukietech.com/blog/marketing/download-google-search-queries-using-google-search-console-api/]]></description>
			<content:encoded><![CDATA[<p>Nice job! But may be using mysql is overhead. I&#8217;ve tried Search Console API. Check my code if you&#8217;re interested in it: <a href="https://www.ukietech.com/blog/marketing/download-google-search-queries-using-google-search-console-api/" rel="nofollow ugc">https://www.ukietech.com/blog/marketing/download-google-search-queries-using-google-search-console-api/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Paul Shapiro		</title>
		<link>https://searchwilderness.com/gwmt-data-python/#comment-14563</link>

		<dc:creator><![CDATA[Paul Shapiro]]></dc:creator>
		<pubDate>Thu, 08 Oct 2015 20:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://searchwilderness.com/?p=3547#comment-14563</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://searchwilderness.com/gwmt-data-python/#comment-14562&quot;&gt;Adrian Palacios&lt;/a&gt;.

I believe it&#039;s called in Googles&#039; library and isn&#039;t actually referenced in the script. It&#039;s just a static file required for auth. Put in the same directory as the script.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://searchwilderness.com/gwmt-data-python/#comment-14562">Adrian Palacios</a>.</p>
<p>I believe it&#8217;s called in Googles&#8217; library and isn&#8217;t actually referenced in the script. It&#8217;s just a static file required for auth. Put in the same directory as the script.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Adrian Palacios		</title>
		<link>https://searchwilderness.com/gwmt-data-python/#comment-14562</link>

		<dc:creator><![CDATA[Adrian Palacios]]></dc:creator>
		<pubDate>Thu, 08 Oct 2015 20:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://searchwilderness.com/?p=3547#comment-14562</guid>

					<description><![CDATA[Total n00b question, but in the updated Python script for Search Analytics, at what point does the client_secrets.json come into play? I&#039;ve read over the example in Google&#039;s docs and yours as well, but don&#039;t understand at what point the authorization is taking place :-/

For instance, I&#039;m assuming it&#039;s somewhere here:
service, flags = sample_tools.init(
        argv, &#039;webmasters&#039;, &#039;v3&#039;, __doc__, __file__, parents=[argparser],
        scope=&#039;https://www.googleapis.com/auth/webmasters.readonly&#039;)

But that is *a lot* different from the other found here:  https://developers.google.com/webmaster-tools/v3/quickstart/quickstart-python]]></description>
			<content:encoded><![CDATA[<p>Total n00b question, but in the updated Python script for Search Analytics, at what point does the client_secrets.json come into play? I&#8217;ve read over the example in Google&#8217;s docs and yours as well, but don&#8217;t understand at what point the authorization is taking place :-/</p>
<p>For instance, I&#8217;m assuming it&#8217;s somewhere here:<br />
service, flags = sample_tools.init(<br />
        argv, &#8216;webmasters&#8217;, &#8216;v3&#8242;, __doc__, __file__, parents=[argparser],<br />
        scope=&#8217;https://www.googleapis.com/auth/webmasters.readonly&#8217;)</p>
<p>But that is *a lot* different from the other found here:  <a href="https://developers.google.com/webmaster-tools/v3/quickstart/quickstart-python" rel="nofollow ugc">https://developers.google.com/webmaster-tools/v3/quickstart/quickstart-python</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Adrian Palacios		</title>
		<link>https://searchwilderness.com/gwmt-data-python/#comment-14561</link>

		<dc:creator><![CDATA[Adrian Palacios]]></dc:creator>
		<pubDate>Thu, 08 Oct 2015 19:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://searchwilderness.com/?p=3547#comment-14561</guid>

					<description><![CDATA[Total n00b question, but in the updated Python script for Search Analytics, at what point does the client_secrets.json come into play? I&#039;ve read over the example in Google&#039;s docs and yours as well, but don&#039;t understand at what point the authorization is taking place :-/

For instance, I&#039;m assuming it&#039;s somewhere here:
service, flags = sample_tools.init(
        argv, &#039;webmasters&#039;, &#039;v3&#039;, __doc__, __file__, parents=[argparser],
        scope=&#039;https://www.googleapis.com/auth/webmasters.readonly&#039;)

But that is *a lot* different from the other found here https://developers.google.com/webmaster-tools/v3/quickstart/quickstart-python:
# Copy your credentials from the console
CLIENT_ID = &#039;YOUR_CLIENT_ID&#039;
CLIENT_SECRET = &#039;YOUR_CLIENT_SECRET&#039;

# Check https://developers.google.com/webmaster-tools/v3/ for all available scopes
OAUTH_SCOPE = &#039;https://www.googleapis.com/auth/webmasters.readonly&#039;

# Redirect URI for installed apps
REDIRECT_URI = &#039;urn:ietf:wg:oauth:2.0:oob&#039;

# Run through the OAuth flow and retrieve credentials
flow = OAuth2WebServerFlow(CLIENT_ID, CLIENT_SECRET, OAUTH_SCOPE, REDIRECT_URI)
authorize_url = flow.step1_get_authorize_url()
print &#039;Go to the following link in your browser: &#039; + authorize_url
code = raw_input(&#039;Enter verification code: &#039;).strip()
credentials = flow.step2_exchange(code)

# Create an httplib2.Http object and authorize it with our credentials
http = httplib2.Http()
http = credentials.authorize(http)

webmasters_service = build(&#039;webmasters&#039;, &#039;v3&#039;, http=http)]]></description>
			<content:encoded><![CDATA[<p>Total n00b question, but in the updated Python script for Search Analytics, at what point does the client_secrets.json come into play? I&#8217;ve read over the example in Google&#8217;s docs and yours as well, but don&#8217;t understand at what point the authorization is taking place :-/</p>
<p>For instance, I&#8217;m assuming it&#8217;s somewhere here:<br />
service, flags = sample_tools.init(<br />
        argv, &#8216;webmasters&#8217;, &#8216;v3&#8242;, __doc__, __file__, parents=[argparser],<br />
        scope=&#8217;https://www.googleapis.com/auth/webmasters.readonly&#8217;)</p>
<p>But that is *a lot* different from the other found here <a href="https://developers.google.com/webmaster-tools/v3/quickstart/quickstart-python" rel="nofollow ugc">https://developers.google.com/webmaster-tools/v3/quickstart/quickstart-python</a>:<br />
# Copy your credentials from the console<br />
CLIENT_ID = &#8216;YOUR_CLIENT_ID&#8217;<br />
CLIENT_SECRET = &#8216;YOUR_CLIENT_SECRET&#8217;</p>
<p># Check <a href="https://developers.google.com/webmaster-tools/v3/" rel="nofollow ugc">https://developers.google.com/webmaster-tools/v3/</a> for all available scopes<br />
OAUTH_SCOPE = &#8216;https://www.googleapis.com/auth/webmasters.readonly&#8217;</p>
<p># Redirect URI for installed apps<br />
REDIRECT_URI = &#8216;urn:ietf:wg:oauth:2.0:oob&#8217;</p>
<p># Run through the OAuth flow and retrieve credentials<br />
flow = OAuth2WebServerFlow(CLIENT_ID, CLIENT_SECRET, OAUTH_SCOPE, REDIRECT_URI)<br />
authorize_url = flow.step1_get_authorize_url()<br />
print &#8216;Go to the following link in your browser: &#8216; + authorize_url<br />
code = raw_input(&#8216;Enter verification code: &#8216;).strip()<br />
credentials = flow.step2_exchange(code)</p>
<p># Create an httplib2.Http object and authorize it with our credentials<br />
http = httplib2.Http()<br />
http = credentials.authorize(http)</p>
<p>webmasters_service = build(&#8216;webmasters&#8217;, &#8216;v3&#8217;, http=http)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: searchwilderness.com @ 2026-05-19 04:14:10 by W3 Total Cache
-->