Group: http://groups.google.com/group/adsense-api/topics
- How to save in MySQL [3 Updates]
- drtanz <jpgalea@gmail.com> Jan 10 01:54AM -0800
I'm using PHP and yes I'm using the API client library for it.
- "Sérgio Gomes" <sergio.gomes@google.com> Jan 10 02:51AM -0800
You've got a sample here using SQLite (take a look at the "authenticate"
method): https://code.google.com/p/google-api-php-client/source/browse/trunk/examples/adsense/AdSenseAuth.php
It's a very basic sample, but it should be trivial to modify it to work in
MySQL. Also, if you need multi-user access, you'll need to save a token per
user, rather than a single one as shown in this sample.
Hope this helps!
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
- drtanz <jpgalea@gmail.com> Jan 10 02:51PM -0800
Thanks I'll try that out and see whether I manage.
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 post to this group, send email to adsense-api@googlegroups.com.
To unsubscribe from this group, send email to adsense-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.
No comments:
Post a Comment