Group: http://groups.google.com/group/adsense-api/topics
- AdSense Management API v1.3 has launched! [1 Update]
- OAuth for Installed Apps with AdSense API [2 Updates]
- "Raúl Mellado" <raulmellado@gmail.com> Jun 25 01:35AM -0700
Great news Sérgio, I was waiting for the chance to fetch the ad code for a
long time :-)
Keep up the good work!
On Tuesday, June 18, 2013 3:10:23 PM UTC+2, Sérgio Gomes (AdSense API Team)
wrote:
- Shane Niebergall <shane43@gmail.com> Jun 21 11:04AM -0700
Hey all!
I'm setting up a wordpress plugin that can pull adsense stats. Because it's
a plugin, the redirect uri is different for every install, and I can't use
an OAuth 2.0 client api key approach. I've found this article, which walks
me through setting up OAuth for Installed Apps:
http://www.ioncannon.net/programming/1443/google-oauth-for-installed-apps-php-example/
When I replicate the code in the example, all works great. But when I
switch from the Analytics Api example to start using Adsense Management
API, I'm getting an error:
"Daily Limit for Unauthenticated Use Exceeded. Continued use requires
signup"
So, using this scope and api url works:
$scope = 'https://www.googleapis.com/auth/analytics.readonly';
$apiurl =
'https://www.googleapis.com/analytics/v2.4/management/accounts/~all/webproperties/~all/profiles';
But this doesn't!
$scope = 'https://www.googleapis.com/auth/adsense.readonly';
$apiurl = 'https://www.googleapis.com/adsense/v1.3/accounts';
Can you think of any reason why? I've been scouring the Adsense
documentation and I can't find anything that suggests its authentication is
different than Analytics.
Thanks so much!!
- "Jose Alcérreca (AdSense API Team)" <adsenseapiadvisor+jose@google.com> Jun 24 06:29AM -0700
Hi Shane!
Have you activated the AdSense Management API Service in the APIs console?
https://code.google.com/apis/console/
Cheers,
Jose
---
Jose Alcérreca
Developer Relations
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
9TQ
Registered in England Number: 3977902
On Friday, 21 June 2013 19:04:44 UTC+1, Shane Niebergall wrote:
You received this message because you are subscribed to the Google Group adsense-api.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adsense-api+unsubscribe@googlegroups.com.
To post to this group, send email to adsense-api@googlegroups.com.
Visit this group at http://groups.google.com/group/adsense-api.
For more options, visit https://groups.google.com/groups/opt_out.
If you are looking into generating cash from your visitors via popunder advertisments, you should try one of the highest paying networks - Propeller Ads.
ReplyDelete