<?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/"
	
	>
<channel>
	<title>
	Comments on: PHP get adsense earnings and reports	</title>
	<atom:link href="https://www.binarytides.com/php-get-adsense-earnings-and-reports/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/php-get-adsense-earnings-and-reports/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Mon, 07 Mar 2016 14:50:36 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: Mahmoud		</title>
		<link>https://www.binarytides.com/php-get-adsense-earnings-and-reports/comment-page-1/#comment-69594</link>

		<dc:creator><![CDATA[Mahmoud]]></dc:creator>
		<pubDate>Mon, 07 Mar 2016 14:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=884#comment-69594</guid>

					<description><![CDATA[How i can use your class for get report of channel ? 
$channel_id = &#039;7146625555&#039;;]]></description>
			<content:encoded><![CDATA[<p>How i can use your class for get report of channel ?<br />
$channel_id = &#8216;7146625555&#8217;;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pedro Puppim		</title>
		<link>https://www.binarytides.com/php-get-adsense-earnings-and-reports/comment-page-1/#comment-65226</link>

		<dc:creator><![CDATA[Pedro Puppim]]></dc:creator>
		<pubDate>Fri, 29 Jun 2012 17:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=884#comment-65226</guid>

					<description><![CDATA[The action changed to: https://accounts.google.com/ServiceLoginAuth
And the variables: continue and followup moved to: https://www.google.com/adsense/gaiaauth2]]></description>
			<content:encoded><![CDATA[<p>The action changed to: <a href="https://accounts.google.com/ServiceLoginAuth" rel="nofollow ugc">https://accounts.google.com/ServiceLoginAuth</a><br />
And the variables: continue and followup moved to: <a href="https://www.google.com/adsense/gaiaauth2" rel="nofollow ugc">https://www.google.com/adsense/gaiaauth2</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jason Fox		</title>
		<link>https://www.binarytides.com/php-get-adsense-earnings-and-reports/comment-page-1/#comment-65225</link>

		<dc:creator><![CDATA[Jason Fox]]></dc:creator>
		<pubDate>Fri, 30 Mar 2012 04:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=884#comment-65225</guid>

					<description><![CDATA[Your script is EXACTLY what we needed.  The &#039;official&#039; adsense management API truly sucks compared to your simple script.  Let&#039;s hope they don&#039;t change the report format anytime soon!   Thanks again for your code!]]></description>
			<content:encoded><![CDATA[<p>Your script is EXACTLY what we needed.  The &#8216;official&#8217; adsense management API truly sucks compared to your simple script.  Let&#8217;s hope they don&#8217;t change the report format anytime soon!   Thanks again for your code!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Max		</title>
		<link>https://www.binarytides.com/php-get-adsense-earnings-and-reports/comment-page-1/#comment-65224</link>

		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Sun, 18 Mar 2012 13:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=884#comment-65224</guid>

					<description><![CDATA[Great stuff! I have been looking for an easy-to-use script for adsense for quite a while. It&#039;s so much better than the one deployed by google: Too much overload!]]></description>
			<content:encoded><![CDATA[<p>Great stuff! I have been looking for an easy-to-use script for adsense for quite a while. It&#8217;s so much better than the one deployed by google: Too much overload!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kim		</title>
		<link>https://www.binarytides.com/php-get-adsense-earnings-and-reports/comment-page-1/#comment-65223</link>

		<dc:creator><![CDATA[Kim]]></dc:creator>
		<pubDate>Mon, 28 Nov 2011 11:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=884#comment-65223</guid>

					<description><![CDATA[Thank you very much for your answer, but I already have tried to login using: 

1. get https://accounts.google.com/ServiceLogin?service=lbc

2. post to https://accounts.google.com/ServiceLoginAuth with the following post_data:

$post_data = array(
			&#039;service&#039; =&#062; &#039;lbc&#039; ,
			&#039;dsh&#039; =&#062; $input_tags[&#039;dsh&#039;] ,
			&#039;GALX&#039; =&#062; $input_tags[&#039;GALX&#039;] ,
			&#039;pstMsg&#039; =&#062; &#039;1&#039; ,
			&#039;dnConn&#039; =&#062; &#039;https%3A%2F%2Faccounts.youtube.com&#039; ,
			&#039;timeStmp&#039; =&#062; &#039;&#039; ,
			&#039;secTok&#039; =&#062; &#039;&#039; ,		
			&#039;Email&#039;=&#062; $this-&#062;username ,
			&#039;Passwd&#039; =&#062; $this-&#062;password
		);

3. Checkcookie thing https://accounts.google.com/CheckCookie?service=lbc&#038;chtml=LoginDoneHtml&#038;dnConn=https%3A%2F%2Faccounts.youtube.com&#038;pstMsg=1 


But I keep getting the following html:

[script type=&quot;text/javascript&quot; language=&quot;javascript&quot;]
      // Accessing window.external members can cause IE to throw exceptions.
      // Any code that acesses window.external members must be try/catch wrapped
      /** @preserveTry */
      try {
        if (top == self) {
          if (window.gtbExternal) {
            window.gtbExternal.setM();
          } else {
            window.external.setM();
          }
        }
      }
      catch(err) {
      }
    [/script[
[meta http-equiv=&quot;refresh&quot; content=&quot;0; url=&#039;http://www.google.dk/accounts/SetSID?ssdc=1&#038;sidt=ALWU2ct1rO4S%2FKuWD%2FTGorhebkepjo3mTSHuYElfcSpr9HLtLaoeV4RuqxA6PRTrrqphj%2BHy8iIWpKqUswRAQbV76HlDI2ygNncs4OLyvuecqLE%2FU0d4RhzQIc8rl%2BdZzd0K8figZ3VYePflHQgNYCEYGZ%2F8mJ94r7DcaT%2BhguiBKpWW%2BEh6XOCRIcVxct9Cdf7AUOLPdXT5b86Fv7kGhFkIz9vyqDOHUh%2F%2BPyt9O9smNb%2BgwSFMcorRXZ9dKCn5NfN%2BgVgzd2Zr%2FWW1idpX3w3eXGzPZEGlkw%3D%3D&#038;continue=https%3A%2F%2Faccounts.google.com%2FServiceLogin%3Fpassive%3Dtrue%26go%3Dtrue%26service%3Dlbc%26fss%3D1%26continue%3Dhttps%253A%252F%252Faccounts.google.com%252FManageAccount&#039;&quot;][/head]
[body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot; link=&quot;#0000cc&quot; vlink=&quot;#551a8b&quot; alink=&quot;#ff0000&quot;][script type=&quot;text/javascript&quot; language=&quot;javascript&quot;]
    location.replace(&quot;http://www.google.dk/accounts/SetSID?ssdcx3d1x26sidtx3dALWU2ct1rO4S%2FKuWD%2FTGorhebkepjo3mTSHuYElfcSpr9HLtLaoeV4RuqxA6PRTrrqphj%2BHy8iIWpKqUswRAQbV76HlDI2ygNncs4OLyvuecqLE%2FU0d4RhzQIc8rl%2BdZzd0K8figZ3VYePflHQgNYCEYGZ%2F8mJ94r7DcaT%2BhguiBKpWW%2BEh6XOCRIcVxct9Cdf7AUOLPdXT5b86Fv7kGhFkIz9vyqDOHUh%2F%2BPyt9O9smNb%2BgwSFMcorRXZ9dKCn5NfN%2BgVgzd2Zr%2FWW1idpX3w3eXGzPZEGlkw%3D%3Dx26continuex3dhttps%3A%2F%2Faccounts.google.com%2FServiceLogin%3Fpassive%3Dtrue%26go%3Dtrue%26service%3Dlbc%26fss%3D1%26continue%3Dhttps%253A%252F%252Faccounts.google.com%252FManageAccount&quot;)
  [/script][/body][/html]]]></description>
			<content:encoded><![CDATA[<p>Thank you very much for your answer, but I already have tried to login using: </p>
<p>1. get <a href="https://accounts.google.com/ServiceLogin?service=lbc" rel="nofollow ugc">https://accounts.google.com/ServiceLogin?service=lbc</a></p>
<p>2. post to <a href="https://accounts.google.com/ServiceLoginAuth" rel="nofollow ugc">https://accounts.google.com/ServiceLoginAuth</a> with the following post_data:</p>
<p>$post_data = array(<br />
			&#8216;service&#8217; =&gt; &#8216;lbc&#8217; ,<br />
			&#8216;dsh&#8217; =&gt; $input_tags[&#8216;dsh&#8217;] ,<br />
			&#8216;GALX&#8217; =&gt; $input_tags[&#8216;GALX&#8217;] ,<br />
			&#8216;pstMsg&#8217; =&gt; &#8216;1&#8217; ,<br />
			&#8216;dnConn&#8217; =&gt; &#8216;https%3A%2F%2Faccounts.youtube.com&#8217; ,<br />
			&#8216;timeStmp&#8217; =&gt; &#8221; ,<br />
			&#8216;secTok&#8217; =&gt; &#8221; ,<br />
			&#8216;Email&#8217;=&gt; $this-&gt;username ,<br />
			&#8216;Passwd&#8217; =&gt; $this-&gt;password<br />
		);</p>
<p>3. Checkcookie thing <a href="https://accounts.google.com/CheckCookie?service=lbc&#038;chtml=LoginDoneHtml&#038;dnConn=https%3A%2F%2Faccounts.youtube.com&#038;pstMsg=1" rel="nofollow ugc">https://accounts.google.com/CheckCookie?service=lbc&#038;chtml=LoginDoneHtml&#038;dnConn=https%3A%2F%2Faccounts.youtube.com&#038;pstMsg=1</a> </p>
<p>But I keep getting the following html:</p>
<p>[script type=&#8221;text/javascript&#8221; language=&#8221;javascript&#8221;]<br />
      // Accessing window.external members can cause IE to throw exceptions.<br />
      // Any code that acesses window.external members must be try/catch wrapped<br />
      /** @preserveTry */<br />
      try {<br />
        if (top == self) {<br />
          if (window.gtbExternal) {<br />
            window.gtbExternal.setM();<br />
          } else {<br />
            window.external.setM();<br />
          }<br />
        }<br />
      }<br />
      catch(err) {<br />
      }<br />
    [/script[<br />
[meta http-equiv=&#8221;refresh&#8221; content=&#8221;0; url=&#039;<a href="http://www.google.dk/accounts/SetSID?ssdc=1&#038;sidt=ALWU2ct1rO4S%2FKuWD%2FTGorhebkepjo3mTSHuYElfcSpr9HLtLaoeV4RuqxA6PRTrrqphj%2BHy8iIWpKqUswRAQbV76HlDI2ygNncs4OLyvuecqLE%2FU0d4RhzQIc8rl%2BdZzd0K8figZ3VYePflHQgNYCEYGZ%2F8mJ94r7DcaT%2BhguiBKpWW%2BEh6XOCRIcVxct9Cdf7AUOLPdXT5b86Fv7kGhFkIz9vyqDOHUh%2F%2BPyt9O9smNb%2BgwSFMcorRXZ9dKCn5NfN%2BgVgzd2Zr%2FWW1idpX3w3eXGzPZEGlkw%3D%3D&#038;continue=https%3A%2F%2Faccounts.google.com%2FServiceLogin%3Fpassive%3Dtrue%26go%3Dtrue%26service%3Dlbc%26fss%3D1%26continue%3Dhttps%253A%252F%252Faccounts.google.com%252FManageAccount&#038;#039" rel="nofollow ugc">http://www.google.dk/accounts/SetSID?ssdc=1&#038;sidt=ALWU2ct1rO4S%2FKuWD%2FTGorhebkepjo3mTSHuYElfcSpr9HLtLaoeV4RuqxA6PRTrrqphj%2BHy8iIWpKqUswRAQbV76HlDI2ygNncs4OLyvuecqLE%2FU0d4RhzQIc8rl%2BdZzd0K8figZ3VYePflHQgNYCEYGZ%2F8mJ94r7DcaT%2BhguiBKpWW%2BEh6XOCRIcVxct9Cdf7AUOLPdXT5b86Fv7kGhFkIz9vyqDOHUh%2F%2BPyt9O9smNb%2BgwSFMcorRXZ9dKCn5NfN%2BgVgzd2Zr%2FWW1idpX3w3eXGzPZEGlkw%3D%3D&#038;continue=https%3A%2F%2Faccounts.google.com%2FServiceLogin%3Fpassive%3Dtrue%26go%3Dtrue%26service%3Dlbc%26fss%3D1%26continue%3Dhttps%253A%252F%252Faccounts.google.com%252FManageAccount&#038;#039</a>;&#8221;][/head]<br />
[body bgcolor=&#8221;#ffffff&#8221; text=&#8221;#000000&#8243; link=&#8221;#0000cc&#8221; vlink=&#8221;#551a8b&#8221; alink=&#8221;#ff0000&#8243;][script type=&#8221;text/javascript&#8221; language=&#8221;javascript&#8221;]<br />
    location.replace(&#8220;http://www.google.dk/accounts/SetSID?ssdcx3d1x26sidtx3dALWU2ct1rO4S%2FKuWD%2FTGorhebkepjo3mTSHuYElfcSpr9HLtLaoeV4RuqxA6PRTrrqphj%2BHy8iIWpKqUswRAQbV76HlDI2ygNncs4OLyvuecqLE%2FU0d4RhzQIc8rl%2BdZzd0K8figZ3VYePflHQgNYCEYGZ%2F8mJ94r7DcaT%2BhguiBKpWW%2BEh6XOCRIcVxct9Cdf7AUOLPdXT5b86Fv7kGhFkIz9vyqDOHUh%2F%2BPyt9O9smNb%2BgwSFMcorRXZ9dKCn5NfN%2BgVgzd2Zr%2FWW1idpX3w3eXGzPZEGlkw%3D%3Dx26continuex3dhttps%3A%2F%2Faccounts.google.com%2FServiceLogin%3Fpassive%3Dtrue%26go%3Dtrue%26service%3Dlbc%26fss%3D1%26continue%3Dhttps%253A%252F%252Faccounts.google.com%252FManageAccount&#8221;)<br />
  [/script][/body][/html]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Binary Tides		</title>
		<link>https://www.binarytides.com/php-get-adsense-earnings-and-reports/comment-page-1/#comment-65222</link>

		<dc:creator><![CDATA[Binary Tides]]></dc:creator>
		<pubDate>Mon, 28 Nov 2011 09:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=884#comment-65222</guid>

					<description><![CDATA[Yes it doesnt work.

You need to first login using this url :
https://accounts.google.com/ServiceLogin?service=lbc

and then open the url :

http://www.google.com/local/add/businessCenter?pli=1]]></description>
			<content:encoded><![CDATA[<p>Yes it doesnt work.</p>
<p>You need to first login using this url :<br />
<a href="https://accounts.google.com/ServiceLogin?service=lbc" rel="nofollow ugc">https://accounts.google.com/ServiceLogin?service=lbc</a></p>
<p>and then open the url :</p>
<p><a href="http://www.google.com/local/add/businessCenter?pli=1" rel="nofollow ugc">http://www.google.com/local/add/businessCenter?pli=1</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kim		</title>
		<link>https://www.binarytides.com/php-get-adsense-earnings-and-reports/comment-page-1/#comment-65221</link>

		<dc:creator><![CDATA[Kim]]></dc:creator>
		<pubDate>Tue, 22 Nov 2011 08:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=884#comment-65221</guid>

					<description><![CDATA[Hi Binary tides,

Thank you for the script. It works like a charm! I have a little problem, which I hope you can help me with:

I&#039;ve tried to use your script to login to Google Local Business Center by changing line 12 in the report fetching part. I thought this would work since I can access the Google LBC page if I first log in to adsense in a normal browsing session:

From:
//get the report from mobile interface :)  , smart boy!!
$html = $adsense-&#062;_getcurl(&quot;https://www.google.com/adsense/v3/m/reports?savedreport=$report&quot;);

To:
//get the report from mobile interface :)  , smart boy!!
$html = $adsense-&#062;_getcurl(&quot;http://www.google.com/local/add/businessCenter?pli=1&quot;);

This doesn&#039;t work and I get a simple html page, that meta redirects to a different page. I&#039;ve tried to parse the page and fetch the meta redirect, but I keep getting redirected to the same page. Can you please help me out? :)]]></description>
			<content:encoded><![CDATA[<p>Hi Binary tides,</p>
<p>Thank you for the script. It works like a charm! I have a little problem, which I hope you can help me with:</p>
<p>I&#8217;ve tried to use your script to login to Google Local Business Center by changing line 12 in the report fetching part. I thought this would work since I can access the Google LBC page if I first log in to adsense in a normal browsing session:</p>
<p>From:<br />
//get the report from mobile interface :)  , smart boy!!<br />
$html = $adsense-&gt;_getcurl(&#8220;https://www.google.com/adsense/v3/m/reports?savedreport=$report&#8221;);</p>
<p>To:<br />
//get the report from mobile interface :)  , smart boy!!<br />
$html = $adsense-&gt;_getcurl(&#8220;http://www.google.com/local/add/businessCenter?pli=1&#8221;);</p>
<p>This doesn&#8217;t work and I get a simple html page, that meta redirects to a different page. I&#8217;ve tried to parse the page and fetch the meta redirect, but I keep getting redirected to the same page. Can you please help me out? :)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
