Hi Cristian,
Looks like your problem is related to authentication, not the report generation method.
Did you fill in the client ID, client secret, etc. in the AdSenseAuth.php file?
Cheers,
Sérgio
---
Sérgio Gomes
Developer Relations
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Registered in England Number: 3977902
On Tuesday, 8 January 2013 08:55:53 UTC, Cristian Sannino wrote:
Hi, i'm tryng to get report earning by url with API Adsense, but give me the same error every time, unauthorized client and error to refresh token, http://cristiansannino.vitevirtuali.com/adsense/google-api-php-client/examples/adsense.
My answer is : is possibiile get report by url for a range beetween two dates? where can i see a complete example? with api class example Adsense give me anytime error, maybe developer key? that in the code request me, but in the panel of console there isn't!
Thanks