Group: http://groups.google.com/group/adsense-api/topics
- OAuth 2.0 / PHP API / Reports [1 Update]
- Daniel Mayans <dani.mb90@gmail.com> May 26 07:39AM -0700
Hello!
I'm generating some reports using the PHP AdSense API.
I've tried out the adsense-sample.php and it works fine, but, I need to
avoid the confirmation screen that requires to be logged with a Google
account to access the reports.
Just like I do in AdWords, I need to preset all the credentials (client_id,
client_secret, refresh_token) and generate a report without end-user
interaction.
I've been reading about store the refresh token, and I got it, but I don't
know how to use it properly inside the adsense-sample.php.
This is the file I'm trying to modify and automatize the process
https://github.com/googleads/googleads-adsense-examples/blob/master/php-clientlib-1.x/v1.x/adsense-sample.php<https://github.com/googleads/googleads-adsense-examples/blob/master/php-clientlib-1.x/v1.x/adsense-sample.php>
Thank you and sorry if my English isn't good!
No comments:
Post a Comment