Hi Peter,

I've responded to your other thread, but to summarize, you have couple 
options:

1. Use the ASP.NET code example from the examples\ folder as a reference.
2. Generate a refresh token using that guide, and plug in the values into 
your web.config.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, September 2, 2013 10:37:27 AM UTC+1, Peter wrote:
>
> Hi, 
>
> I am trying the example "AdWords.Examples.CSharp.OAuth" for the 
> preparation of developing an ASP.NET application for AdWords API.
>
> I have created an OAuth2 client ID for my test MCC account.
>
> Then I go to OAuth 2.0 Playground to get my RefreshToken (following this 
> tutorial: http://www.ewanheming.com/adwords-api-oauth-playground)
>
> Then I have input all required parameters in the web.config of the example.
> - DeveloperToken
> - ClientCustomerId
> - AuthorizationMethod (uncomment it only)
> - OAuth2ClientId
> - OAuth2ClientSecret
> - OAuth2Scope (https://adwords.google.com/api/adwords/)
> - OAuth2RefreshToken
>
> When i try to run the example, input the customerID of the test MCC in the 
> textbox and click "Get Campaign", it shows *Failed to get campaigns. 
> Exception says "OAuth provider cannot be null when selecting Authorization 
> method as "OAuth"."
>
> *However, I can't find any fields in web.config which is deciding the 
> OAuth provider. (Is it the key "*AuthorizationMethod*"?)
>
> Please tell me the failure in my progress. Thanks!
>
> In addition, would you mind to give me a simple flow in creating an 
> ASP.NET application? Those materials in the Internet make me quite 
> confused. :( A tons of Thanks.
>
> Regards, 
> Peter
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

--- 
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to