Re: error in first api call

2018-08-20 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Dinesh,

Could you try and generate a new refreshToken 

 and 
see if the issue persists?

Thanks and regards,
Peter
AdWords API Team

On Tuesday, August 21, 2018 at 3:08:28 AM UTC+8, Dinesh S wrote:
>
> 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 
>> .
>>  
>> 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] 
>>> 
>>>
>>>
>>>
>>> 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/c8c24097-cc81-4475-a4d3-a2e1c3a045c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: error in first api call

2018-08-20 Thread Dinesh S
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 
> .
>  
> 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] 
>> 
>>
>>
>>
>> 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.


Re: error in first api call

2018-08-06 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
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 
.
 
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] 
> 
>
>
>
> 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/2c81914d-e483-4c8d-96fa-a25b0b09559b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.