Group: http://groups.google.com/group/adsense-api/topics
- Service Account for AdSense Management API 1.1 [2 Updates]
- API-acquisition of advert data, and custom presentation on search page. [1 Update]
- Peter Diamant <peterdatwork@gmail.com> May 08 06:46PM -0700
Hi
I'm developing an application to create AdSense Reports
automatically. As we want to run this as a service, we do not want to
have a User manually logging in to Authenticate, so we need to run it
using a "Service Account".
I have read on another post that Service Account Authentication isn't
yet available for the AdSense Management API. Can you confirm whether
or not this is correct? And if so, when will Service Accounts be
avaialble to use with the Adsense management API? We need to have our
service up and running within the month.
If Service Accounts can be used, can I use the latest Google APIs
Client Library for .NET to access the AdSense API with a Service
Account?
Thanks
- "Sérgio Gomes" <sergio.gomes@google.com> May 09 06:59AM -0700
Hi Peter,
I'm afraid you can't use service accounts with the AdSense Management API,
since it accesses protected user data.
You'll need to use the standard web-based or installed OAuth 2.0 flows
instead, and run through the authorisation flow once. You can, however,
save your authentication data for subsequent runs, so that you only need to
perform the authentication step once.
You can take a look at the AuthorizationManager class used by the .NET
samples to get an idea of how to persist your credential data between
runs: http://code.google.com/p/google-api-dotnet-client/source/browse/SampleHelper/AuthorizationMgr.cs?repo=samples
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
---
On Wednesday, May 9, 2012 2:46:21 AM UTC+1, Peter Diamant wrote:
- carl0s <carl@internetsomething.com> May 08 04:08PM -0700
Thanks Sérgio. I will have a look, although I had already searched very
extensively before posting on here.
I can't help thinking these guys must have "special" treatment from Google,
much like Dell do/did. They are suppliers of questionable-ish home/search
hijacking software aimed at kids. It's http://search.sweetim.com.
I am wondering if they are actually closely linked to, or part of
LabPixies, who were acquired by Google a year or two ago. That might
explain the apparent special treatment.
Or, I could be totally wrong, and it's just not mentioned in the CSE API
documentation.
Thanks,
Carl
Anyway, I'm surprised that the Adsense API doesn't cater for retrieval of
adverts for displaying on websites though.
On Tuesday, May 8, 2012 3:53:28 PM UTC+1, Sérgio Gomes wrote:
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