Hi Bhavin,

If you are using a client library to make calls, then most client
libraries support switching from ClientLogin to AuthToken using a
configuration key. If you don't, then you have to start by finding an
oauth library that suits your needs and is on OAuth 1.0a. Some amount
of intro material on OAuth is available at 
http://code.google.com/apis/accounts/docs/OAuth.html,
and is linked to other relevant material. Essentially, you do the
oauth dance, sign the SOAP request using the access token, and set the
signature on the HTTP authorization header of the outgoing SOAP
request.

Hope this helps. Feel free to ask if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Oct 24, 7:55 am, Bhavin Shah <bha...@sokrati.com> wrote:
> Thanks for the response Oldskool and Anash. Until now we were using
> auth-tokens in requests to various APIs. We are starting to migrate to
> v201109 and hope to use oAuth. Can you please point to couple of examples
> that use oAuth. I am unable to find, how do you supply oAuth-token in
> requests to APIs.
>
> Regards,
> Bhavin
>
> On Mon, Oct 24, 2011 at 8:05 AM, Anash P. Oommen <
>
>
>
>
>
>
>
> anash.p.oommen+fo...@google.com> wrote:
> > Hi Bhavin,
>
> > If an OAuth token is invalid / expired / revoked, you will get an
> > authentication error with appropriate error code in the API call response.
> > You can use that to take remedial actions. See
> >http://code.google.com/apis/adwords/docs/reference/v201101/CampaignSe...for
> > details.
>
> > Cheers,
> > Anash P. Oommen,
> > AdWords API Advisor.
>
> >  --
> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> > Also find us on our blog and discussion group:
> >http://adwordsapi.blogspot.com
> >http://groups.google.com/group/adwords-api
> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> > You received this message because you are subscribed to the Google
> > Groups "AdWords API Forum" group.
> > To post to this group, send email to adwords-api@googlegroups.com
> > To unsubscribe from this group, send email to
> > adwords-api+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/adwords-api?hl=en

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to