Group: http://groups.google.com/group/adsense-api/topics
- AdSense Host API v4.1 has launched! [6 Updates]
- Ashbey <ppashesh@gmail.com> Sep 25 04:02AM -0700
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?
On Wednesday, September 19, 2012 10:08:15 PM UTC+5:30, Sérgio Gomes wrote:
- "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Sep 25 04:15AM -0700
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 Gomes
Developer Relations
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
9TQ
Registered in England Number: 3977902
---
On Tuesday, September 25, 2012 12:02:49 PM UTC+1, Ashbey wrote:
- Ashesh Bharadwaj <ashesh@paradisepublishers.com> Sep 25 04:53PM +0530
Thanks a lot for the lightening fast reply. I will look over there. Another
issue where I am stuck is, "AdSense Host API access request" it asks for
"Unique passcode (shared with you via email) *"
I followed your earlier reply:
https://groups.google.com/forum/#!topic/adsense-api/FO4SwYOqs8k
The thing is, I am a developer and the account was created by my boss who
does not have much technical knowledge. Can you let me know where shall he
look for this passcode? Any particular string or text to search for in
email subject/content?
On Tue, Sep 25, 2012 at 4:45 PM, Sérgio Gomes (AdSense API Team) <
--
Regards,
Ashesh Bharadwaj
- "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Sep 25 05:10AM -0700
Hi there,
I'm afraid that's a bit outside of my hands, as this is handled by the
sales team when performing a business review of your proposal. Please send
an email to adsenseapi-support@google.com asking for the status of your
review; the sales team there should be able to help further.
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, September 25, 2012 12:25:34 PM UTC+1, Ashesh Bharadwaj wrote:
- Ashesh Bharadwaj <ashesh@paradisepublishers.com> Sep 25 07:26PM +0530
Thanks again. I will look into it.
Few more questions:
#1 https://developers.google.com/adsense/host/complete_guide
Here it mentions
require_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
#2 https://developers.google.com/adsense/host/signup
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/signup
It says
> 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<https://developers.google.com/adsense/host/v4.1/accounts/get>or managing their ad units with the
> accounts.adunits<https://developers.google.com/adsense/host/v4.1/accounts/adunits>collection
Where does OAuth comes in picture in this process?
On Tue, Sep 25, 2012 at 5:40 PM, Sérgio Gomes (AdSense API Team) <
adsenseapiadvisor+sergio@google.com> wrote:
--
Regards,
Ashesh Bharadwaj
- "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> Sep 26 06:00AM -0700
Hi Ashesh,
Let me answer your questions inline:
On Tuesday, September 25, 2012 2:56:52 PM UTC+1, Ashesh Bharadwaj wrote:
> 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
This documentation is outdated, I'm afraid, and will be removed soon. To
use the AdSense Host API in PHP, make sure you use the trunk version of the
client library, not 0.5.0.
> #2 https://developers.google.com/adsense/host/signup
> I could not find any function "associationsessions.start" in client
> library google-api-php-client-0.5.0
Again, please use the trunk version of the client library, not 0.5.0.
>> such as checking their AdSense account status with accounts.get<https://developers.google.com/adsense/host/v4.1/accounts/get>or managing their ad units with the
>> accounts.adunits<https://developers.google.com/adsense/host/v4.1/accounts/adunits>collection
> Where does OAuth comes in picture in this process?
As with any API that accesses protected user data, you must give the
application access to your data. In this case, I would recommend:
1- You create your API project, with access type "installed application"
2 - You authenticate against the API using your application or a small
script, with your host account, and saved the returned refresh token
3 - You use the stored refresh token to make requests with your application
in the future
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
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