Hi Peter,

Am also getting the same error. I have generated refresh token and included 
it in webconfig file. Can you please guide me to make it work?

Regards,
Dinesh S

On Monday, August 6, 2018 at 1:25:06 PM UTC+5:30, Peter Oliquino (AdWords 
API Team) wrote:
>
> Hi,
>
> Could you confirm if you also provided the refreshToken in the properties 
> file? If you are unable to find the refreshToken, you may just generate a 
> new one by referring to this guide 
> <https://github.com/googleads/googleads-dotnet-lib/wiki/API-access-using-own-credentials-(installed-application-flow)#step-2---setting-up-the-client-library>.
>  
> I hope this helps and feel free to write back should the issue persist.
>
> Thanks and regards,
> Peter
> AdWords API Team
>
> On Monday, August 6, 2018 at 3:19:13 PM UTC+8, advisor managers wrote:
>>
>> I've inherited a google adwords project which is using OAuth 2.0 for 
>> Installed Applications to connect to the google adwords API.
>>
>> I'm falling over on the first hurdle; I've downloaded the following 
>> example project from github;
>>
>>
>> https://github.com/googleads/googleads-dotnet-lib/tree/master/examples/AdWords/CSharp/OAuth
>>
>> When I place all the details into the web.config as directed it doesn't 
>> work. I've put in;
>>
>>    - the developer token
>>    - the customer Id
>>    - OAuth2ClientId
>>    - OAuth2ClientSecret
>>    - 
>>    - This is all brand new to me
>>    
>> [image: screengrab of the sample app] 
>> <https://i.stack.imgur.com/0a7pT.png>
>>
>>
>>
>> The above image shows the sample app interface, when I click on the "Get 
>> campaigns" link receive an exception message; that says "Failed to get 
>> campaigns. Exception says "Failed to refresh access token. See inner 
>> exception for details."
>>
>>
>> Could someone offer any further?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fa705664-42ea-4153-b303-7c40d3ce01b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... advisor . managers . il
    • ... advisor managers
      • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
        • ... Dinesh S
          • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to