Hi Subrata,

The AdWords API .NET library has an OAuth examples folder under C#, that 
shows how to make an API call as well as download a report. You can find 
the detailed instructions 
here: https://code.google.com/p/google-api-adwords-dotnet/wiki/UsingOAuth. 
Let me know if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, February 26, 2013 5:46:57 PM UTC+5:30, Subrata Sarkar wrote:
>
> Hello,
>
> I am a newbie in Adwords area. When I am trying ClientLogin I am getting 
> *This code example gets and downloads a criteria Ad Hoc report from an 
> XML report definition.UNABLE_TO_AUTHORIZE*
>
> Email, password, developer token, Client customer Id all are defined in 
> Web.config file.
>
> I am using .NET client library *awapi_dotnet_lib_v15.4.0*. My .NET 
> framework is 4.0
>
> Please visit *http://tmi.emfluence.com/* and click on "Client Login" 
> button to reproduce the error I mentioned.
> XML error report is here: http://tmi.emfluence.com/report/report.xml
>
> I don't have oAuth specific values for this account so no oAuth button 
> will work. However I tried even with that, and got this:
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDownloadError>  
> <ApiError>    <type>AuthenticationError.OAUTH_TOKEN_HEADER_INVALID</type>    
> <trigger>&lt;null&gt;</trigger>    <fieldPath></fieldPath>  
> </ApiError></reportDownloadError>
>
>
>
> *Please help me with the following:*
>
> 1. How can I setup and Ad
> 2. Step by step example to generate report from an Ad.
> 3. and what I need to do to get rid of these errors.
>
> Best regards,
> Niladri
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to