Hi there,Yes, things now happen through the APIs console and OAuth 2.0.Examples are still being reviewed by the client library authors, but you can take a look at the ongoing code review at https://codereview.appspot.com/6535054/ . Do bear in mind that this code is meant to go against the trunk version of the client library, not 0.5.0.Cheers,Sérgio
---Sérgio GomesDeveloper RelationsGoogle UK LimitedRegistered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQRegistered in England Number: 3977902
---
On Tuesday, September 25, 2012 12:02:49 PM UTC+1, Ashbey wrote:Thanks Sérgio,In AdSense API v3 it was AdSense account login which was used for authentication but seems now authentication is done using APIs console right?I downloaded google-api-php-client-0.5.0 but it has minimal examples dealing with AdSense implemenation (Account Creation / Association, Creating Ad Units etc.). Is there a guide / example specific to this verison of AdSense?
--To view this discussion on the web visit https://groups.google.com/d/msg/adsense-api/-/VzukpQLW5BIJ.
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To post to this group, send email to adsen...@googlegroups.com.
To unsubscribe from this group, send email to adsense-api...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.
require_once 'google-api-php-client/src/contrib/apiAdsensehostService.php';
Once you've stored the account ID, you have all the information you need to manage the user. You can now use it to make API calls specific to them, such as checking their AdSense account status with accounts.get or managing their ad units with the accounts.adunits collection
Where does OAuth comes in picture in this process?
To view this discussion on the web visit https://groups.google.com/d/msg/adsense-api/-/D99FCLONFEcJ.
To post to this group, send email to adsen...@googlegroups.com.
To unsubscribe from this group, send email to adsense-api...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.
Thanks again. I will look into it.Few more questions:Here it mentionsrequire_once 'google-api-php-client/src/contrib/apiAdsensehostService.php';but in google-api-php-client-0.5.0 there is no such file.The example on this guide is different than the one in google-api-php-client-0.5.0/examples/adsense/index.php
I could not find any function "associationsessions.start" in client library google-api-php-client-0.5.0
#3 What I am confiused is, in "Host API Signup Flow" https://developers.google.com/adsense/host/signupIt saysOnce you've stored the account ID, you have all the information you need to manage the user. You can now use it to make API calls specific to them, such as checking their AdSense account status with accounts.get or managing their ad units with the accounts.adunits collectionWhere does OAuth comes in picture in this process?
To view this discussion on the web visit https://groups.google.com/d/msg/adsense-api/-/06PDLXgxXmgJ.
To post to this group, send email to adsen...@googlegroups.com.
To unsubscribe from this group, send email to adsense-api...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.
Thanks for the helpful video https://www.youtube.com/watch?v=x71eomcpcdw . I suspect you did not get any viewer questions because everything was so well explained.I am stuck at API console still showing "Request access" link against "AdSense Host API". I have already filled and submitted the form few times and did it again just now.Can you please help me with this?
To view this discussion on the web visit https://groups.google.com/d/msg/adsense-api/-/Xwoh9N4vtG8J.
To post to this group, send email to adsen...@googlegroups.com.
To unsubscribe from this group, send email to adsense-api...@googlegroups.com.