RE: Failed to refresh access token.

2021-10-20 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Frank,

Thank you for providing further details to your concern.

Since the issue was encountered in the code, then I would suggest to raise this 
issue instead to the author of the client library as they are more equipped 
here. Since it appears that you are using PHP client library, then I would 
suggest posting your concern here. Also, you may use this ready to use sample 
code instead for uploading conversions.

Let me know if you have further questions.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2GICzX:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/le0DE0R1BDES00YQJVwpR2SceXkD1vBylhEQ%40sfdc.net.


RE: Failed to refresh access token.

2021-10-20 Thread Frank Boateng
Hi Ernie,

I have been facing conversion time issues. The documentation provides me with 
the date time format in the code image below -mm-dd hh:mm:ss+|-hh:mm
My country is south Africa as indicated with the currency code ZAR . The error 
message am getting is the string date format. I can see there is a time range 
and am finding it difficult to fix this

The older adwords has this date time format  //string conversionTime = 
DateTime.Now.ToString("MMdd HHmmss zzz");

I will be grateful for your help…

Thanks



[cid:image001.png@01D7C5C4.D4B62E10]

[cid:image002.png@01D7C5C4.D4B62E10]

From: Google Ads API Forum Advisor [mailto:adsapi@forumsupport.google]
Sent: Tuesday, October 19, 2021 6:30 AM
To: Frank Boateng
Cc: adwords-api@googlegroups.com
Subject: RE: Failed to refresh access token.


This email originated from outside Truworths. Please exercise caution before 
replying, clicking on links, or opening attachments.


Hi Frank,

Thank you for raising your concern.

Please note that the implementation of the Google Ads API is not the same with 
the implementation of the AdWords API. I would suggest referring to this 
document<https://developers.google.com/google-ads/api/docs/migration/services> 
to know the equivalent service of the OfflineConversionFeedService and inspect 
the fields that you need to set in uploading conversions using Google Ads API. 
Furthermore, the API service to upload conversions using Google Ads API is no 
longer asking for the conversion action name, but is now requiring the resource 
name of the conversion action instead.

To know more information on uploading conversions using Google Ads API such as 
sample implementation, then I would suggest referring to the following guides 
below:
https://developers.google.com/google-ads/api/docs/conversions/upload-clicks
https://developers.google.com/google-ads/api/docs/conversions/upload-calls

Let me know if you have further questions.

Regards,
[Google Logo]

Ernie John Blanca Tacata

Google Ads API Team





[https://google-dev-relations.my.salesforce.com/servlet/servlet.ImageServer?oid=00D1U01174p&esid=0184Q1E7nbT&from=ext]

ref:_00D1U1174p._5004Q2GICzX:ref

To read our E-mail Legal Notice click 
here:http://www.truworths.co.za/emaildisclaimer.htm
or contact ab...@truworths.co.za to e-mail the notice to you if you are not 
able to access this link

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/77b55f96412e438ba4c81db9a4a2d7b4%40CPTEXCH01.TRUWORTHS.CO.ZA.


RE: Failed to refresh access token.

2021-10-18 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Frank,

Thank you for raising your concern.

Please note that the implementation of the Google Ads API is not the same with 
the implementation of the AdWords API. I would suggest referring to this 
document to know the equivalent service of the OfflineConversionFeedService and 
inspect the fields that you need to set in uploading conversions using Google 
Ads API. Furthermore, the API service to upload conversions using Google Ads 
API is no longer asking for the conversion action name, but is now requiring 
the resource name of the conversion action instead.

To know more information on uploading conversions using Google Ads API such as 
sample implementation, then I would suggest referring to the following guides 
below:
https://developers.google.com/google-ads/api/docs/conversions/upload-clicks
https://developers.google.com/google-ads/api/docs/conversions/upload-calls

Let me know if you have further questions.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2GICzX:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/-c6Fk0R17J6K00RvvvK_fPTQ-ulPMVUO_sAg%40sfdc.net.


RE: Failed to refresh access token.

2021-10-18 Thread Frank Boateng
Good day,

I have Google Adwords .net application that upload offline GCLID data. I have 
to convert that to Google Ads but the parameter. In the Adwords, there was a 
conversion name in the offline conversion feed method but there is no 
conversion name in Ads. There is couple of changes that  I can’t figure out but 
I will attach screenshots and highlight the difference

If you can help me with the difference and what to use in place of the 
conversion name and what values are required for customer ID and conversion 
action ID
The customer ID I have is used as the AdWordsUser of the GoogleAdsClient


Adwords API code

[cid:image004.png@01D7C438.F7309D50]
Ads API Code

[cid:image004.png@01D7C438.F7309D50]


Regards
Frank


From: Frank Boateng
Sent: Thursday, April 29, 2021 11:16 AM
To: 'Google Ads API Forum Advisor Prod'
Cc: adwords-api@googlegroups.com
Subject: RE: Failed to refresh access token.

Thank you Xiaoming for your response. Yes the status was Testing and its now In 
Production


From: Google Ads API Forum Advisor Prod [mailto:adsapiforumadvi...@gmail.com]
Sent: Wednesday, April 28, 2021 3:02 PM
To: Frank Boateng
Cc: adwords-api@googlegroups.com
Subject: RE: Failed to refresh access token.


This email originated from outside Truworths. Please exercise caution before 
replying, clicking on links, or opening attachments.



Hi Frank,

Thank you for reaching out. 
Here<https://developers.google.com/identity/protocols/oauth2#expiration> are 
some common causes for the refresh token expiration. One of them is that “A 
Google Cloud Platform project with an OAuth consent screen configured for an 
external user type and a publishing status of "Testing" is issued a refresh 
token expiring in 7 days.” You could change the publishing status to production 
to avoid this issue.

Thanks and regards,
Xiaoming, Google Ads API Team


[Image removed by sender. Google Logo]

Xiaoming

Google Ads API Team





[Image removed by sender.]

ref:_00D1U1174p._5004Q2GICzX:ref

To read our E-mail Legal Notice click 
here:http://www.truworths.co.za/emaildisclaimer.htm
or contact ab...@truworths.co.za to e-mail the notice to you if you are not 
able to access this link

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dd7061cc8a3a4d148e523a4753c46868%40CPTEXCH01.TRUWORTHS.CO.ZA.


RE: Failed to refresh access token.

2021-04-29 Thread Frank Boateng
Thank you Xiaoming for your response. Yes the status was Testing and its now In 
Production


From: Google Ads API Forum Advisor Prod [mailto:adsapiforumadvi...@gmail.com]
Sent: Wednesday, April 28, 2021 3:02 PM
To: Frank Boateng
Cc: adwords-api@googlegroups.com
Subject: RE: Failed to refresh access token.


This email originated from outside Truworths. Please exercise caution before 
replying, clicking on links, or opening attachments.



Hi Frank,

Thank you for reaching out. 
Here<https://developers.google.com/identity/protocols/oauth2#expiration> are 
some common causes for the refresh token expiration. One of them is that “A 
Google Cloud Platform project with an OAuth consent screen configured for an 
external user type and a publishing status of "Testing" is issued a refresh 
token expiring in 7 days.” You could change the publishing status to production 
to avoid this issue.

Thanks and regards,
Xiaoming, Google Ads API Team


[Image removed by sender. Google Logo]

Xiaoming

Google Ads API Team





[Image removed by sender.]

ref:_00D1U1174p._5004Q2GICzX:ref

To read our E-mail Legal Notice click 
here:http://www.truworths.co.za/emaildisclaimer.htm
or contact ab...@truworths.co.za to e-mail the notice to you if you are not 
able to access this link

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bc30d16d89f5424bb05f4a5ac5007250%40CPTEXCH01.TRUWORTHS.CO.ZA.


RE: Failed to refresh access token.

2021-04-28 Thread Google Ads API Forum Advisor Prod
Hi Frank,

Thank you for reaching out. Here are some common causes for the refresh token 
expiration. One of them is that “A Google Cloud Platform project with an OAuth 
consent screen configured for an external user type and a publishing status of 
"Testing" is issued a refresh token expiring in 7 days.” You could change the 
publishing status to production to avoid this issue.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2GICzX:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/wGMak0QS9YVW00uFYki_LnRHySb5FWTgHHRQ%40sfdc.net.


Failed to refresh access token.

2021-04-28 Thread Frank Boateng
Hello everyone,

I have an app that uses refresh token to communicate but it expires after 
some days. This is the message {Error:"invalid_grant", Description:"Token 
has been expired or revoked.", Uri:""}

I would like to have one fresh token that does not expires or enable my app 
to generate and use new refresh token every time the token expires

Thanks 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2bec4b87-269c-43e2-8b3d-4d03516e8fb0n%40googlegroups.com.


Re: Failed to refresh access token - invalid_grant error

2020-11-25 Thread Google Ads API Forum Advisor Prod
Hi Gal,

I am happy to know that your API is working now. Feel free to post your further 
concerns on this forum and our team would be happy to provide support.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q25XhJB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ehUCs0QKE48X00BMjRTxAASYaEOp03pqg2_g%40sfdc.net.


Re: Failed to refresh access token - invalid_grant error

2020-11-25 Thread Gal Talmor
Hi,
I am sorry for the delay.
It's working now! :)
I had to fill both OAuth2RefreshToken and OAuth2AccessToken in the 
AdWordsAppConfig.

*To create a "refresh token":*
https://accounts.google.com/o/oauth2/auth?access_type=offline&state&response_type=code&client_id=
*MY_CLIENT_ID*
&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords
 
 
*To create an "access token":*
https://accounts.google.com/o/oauth2/auth?client_id= *MY_CLIENT_ID*
&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords&redirect_uri=urn:ietf:wg:oauth:2.0:oob&access_type=offline&prompt=consent

Thanks,
Gal
On Monday, October 5, 2020 at 5:11:55 PM UTC+3 adsapiforumadvisor wrote:

> Hi Gal,
>
> Please try to open the link on a private window. If you still have issues, 
> please send me a screenshot of the webpage.
>
>
> Regards,
> Anthony
> Google Ads API Team
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q25XhJB:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b11bba36-1e15-4ad8-9465-eeedd035270an%40googlegroups.com.


Re: Failed to refresh access token - invalid_grant error

2020-10-05 Thread Google Ads API Forum Advisor Prod
Hi Gal,

Please try to open the link on a private window. If you still have issues, 
please send me a screenshot of the webpage.

Regards,
Anthony
Google Ads API Team

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q25XhJB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/S76p20QHQFEK00PyX8d4clTNuon_wlOjXPOQ%40sfdc.net.


Re: Failed to refresh access token - invalid_grant error

2020-10-05 Thread Gal Talmor
Hi,
I am sorry but the link is not working.
Could you please check it again?

Thanks,
Gal

On Wednesday, September 30, 2020 at 6:41:49 PM UTC+3 adsapiforumadvisor 
wrote:

> Hi Gal,
>
> You will need to obtain an access token. You can find more details on how 
> to generate one here 
> .
>
> Regards,
>
> Anthony
> Google Ads API Team
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>
>
> ref:_00D1U1174p._5004Q25XhJB:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/226d8fcc-1302-48ad-b28e-1f66eb962942n%40googlegroups.com.


Re: Failed to refresh access token - invalid_grant error

2020-09-30 Thread Google Ads API Forum Advisor Prod
Hi Gal,

You will need to obtain an access token. You can find more details on how to 
generate one here.

Regards,
Anthony
Google Ads API Team

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q25XhJB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/yf_2n0QHHA8T00F_-Y-Vx7SkC8VJWxgRDRvA%40sfdc.net.


Re: Failed to refresh access token - invalid_grant error

2020-09-30 Thread Gal Talmor
Hi,
I am sorry, I have no permission to reply to the author only. The option is 
disabled and I see this tooltip: "You do not have permission to reply to 
author in this group".

Anyway, I cannot see an actual API call, this exception is thrown from the 
Google.AdWords NuGet before actually make any API call.
I think that I miss "access token" parameter 
,
 
I have "refresh token" only (which is different).  Is it necessary?
[image: 2020-09-30 15_46_48-AdWords (Debugging) - Microsoft Visual 
Studio.png]

Thanks,
Gal

On Tuesday, September 29, 2020 at 8:30:43 PM UTC+3 adsapiforumadvisor wrote:

> Hi Gal,
>
> Please *reply privately to author *your SOAP request and response so that 
> I can further investigate. Please also let me know the user email that you 
> were using with your credentials.
>
> Thanks,
> Anthony
> Google Ads API Team
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q25XhJB:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d11f984f-1ff4-49d8-979f-779ab238f61dn%40googlegroups.com.


RE: Failed to refresh access token - invalid_grant error

2020-09-29 Thread Google Ads API Forum Advisor Prod
Hi Gal,

Please reply privately to author your SOAP request and response so that I can 
further investigate. Please also let me know the user email that you were using 
with your credentials.

Thanks,
Anthony
Google Ads API Team

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q25XhJB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fdx-s0QHFKMD00a4RLFCyuRXKJyUrSnWz8lg%40sfdc.net.


Failed to refresh access token - invalid_grant error

2020-09-29 Thread Gal Talmor
Hello,
I try to call TargetingIdeaService using the SDK (Google.AdWords NuGet, 
version 24.1.0 <https://www.nuget.org/packages/Google.AdWords/24.1.0>).
First I received a "CUSTOMER_NOT_ACTIVE" error. I created new credentials 
and generated a refresh token in console.developers.google.com 
<https://console.developers.google.com/apis/credentials?authuser=1&project=molten-team-517&supportedpurview=project>,
 
and the error changed to "Failed to refresh access token". I receive this 
error in the official tests project 
<https://developers.google.com/adwords/api/docs/samples/csharp/advanced-operations>
 I 
downloaded, so I guess that it's something in the credentials and not in 
the code.
Could you please help? Why does the token suppose to be refreshed if I just 
created it?

*The request code:*
 string accountId = "ACCOUNT_ID"; 

AdWordsUser user = 
GoogleHelper.GetUserForTargetingIdeaService(accountId);

using (var srv = 
user.GetService(AdWordsService.v201809.TargetingIdeaService) as 
TargetingIdeaService)
{
var pl = new List
{
   // ...
};
var selector = new TargetingIdeaSelector
{
requestType = RequestType.STATS,
ideaType = IdeaType.KEYWORD,
paging = Paging.Default,
searchParameters = pl.ToArray(),
requestedAttributeTypes = new AttributeType[]
{
AttributeType.SEARCH_VOLUME, 
AttributeType.KEYWORD_TEXT,
AttributeType.AVERAGE_CPC, 
AttributeType.TARGETED_MONTHLY_SEARCHES, AttributeType.COMPETITION
}
};
   
   TargetingIdeaPage page = await srv.getAsync(selector);
   // ...
  }

*The response:*
Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access 
token. ---> System.AggregateException: One or more errors occurred. ---> 
Google.Apis.Auth.OAuth2.Responses.TokenResponseException: 
Error:"invalid_grant", Description:"Bad Request", Uri:""   at 
Google.Apis.Auth.OAuth2.Requests.TokenRequestExtenstions.d__0.MoveNext()
...

Thanks,
Gal

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e8dcd1d1-5a15-40b6-b827-30353537656dn%40googlegroups.com.


RE: I am getting error Failed to refresh Access Token .Net C#

2020-02-18 Thread Google Ads API Forum Advisor Prod
Hi Jordan,

Thank you for reaching out. The error "Failed to refresh access token" 
indicates that your refresh token is probably expired. There is likely an issue 
with your OAuth Credentials. Can you please try to generate a new set of 
credentials by following this guide and see if that fixes the issue? If you are 
still having an issue, please provide the complete detailed request and 
response logs and the email address used to generate the credentials via Reply 
privately to author so that I can further investigate the issue.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5001UV1NJ2:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bYZuC0Q5X04W00m55eEjaPQue8DKErue9NjA%40sfdc.net.


RE: Failed to Refresh Access Token - on server

2020-02-18 Thread Google Ads API Forum Advisor Prod
Hi Jordan,

Thank you for reaching out. The error "Failed to refresh access token" 
indicates that your refresh token is probably expired. There is likely an issue 
with your OAuth Credentials. Can you please try to generate a new set of 
credentials by following this guide and see if that fixes the issue? If you are 
still having an issue, please provide the complete detailed request and 
response logs and the email address used to generate the credentials via Reply 
privately to author so that I can further investigate the issue.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5001UV1G1p:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/IN00o0Q5WR3L00APJzliq3RWybM2KwwVZ74A%40sfdc.net.


I am getting error Failed to refresh Access Token .Net C#

2020-02-18 Thread Atif ..
I am woringk in C# .NET
I have authenticated my app for consent and i have received refresh token. 

AdWordsUser user = new AdWordsUser();
 user.Config.OAuth2ClientId = 
"x.apps.googleusercontent.com";
user.Config.OAuth2ClientSecret = "";
user.Config.OAuth2RefreshToken = "xxx";
user.Config.OAuth2Mode = 
Google.Api.Ads.Common.Lib.OAuth2Flow.APPLICATION;

When i am sending this user object to create service object and call 
functions , i am getting error "Failed to refresh Access Token".
Where i can find this access token or how to refresh it ? 
Please guide. 
Thanks. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a2c40d18-ed2c-473c-98f2-680e91710df2%40googlegroups.com.


Failed to Refresh Access Token - on server

2020-02-16 Thread Jordan Liberman
I have a background/scheduled process to extract data from the AdWords API, 
and I've started receiving a message on the server that it failed to 
refresh access token.  The only info I can find on here seems to center 
around the refresh token having expired, but I use the same refresh token 
on another server with similar scheduled processes, and it is still working 
on that server.  I only have ssh access to the server, so I need the token 
access to be offline since I cannot open a web browser for OAuth 
confirmation.  This was all working correctly until I had to restart the 
server earlier today.  Please advise!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/628d0d7b-5343-402f-aa73-d7b87ab6fc46%40googlegroups.com.


RE: Failed to refresh access token

2019-10-31 Thread Google Ads API Forum Advisor Prod
Hi Mike,

Thank you for reaching out. The error "Failed to refresh access token" 
indicates that your refresh token is probably expired. There might be an issue 
with your OAuth Credentials. Could you please try to regenerate a new set of 
credentials by following this guide and try making a call against API. If the 
issue persists, could you please provide the complete logs and the email 
address using which the credentials are generated for me to investigate this 
further? Please use Reply privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UKPCPw:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/mYXvr0Q09B9X00fcmQrFHfSTOrksuX7PuMUw%40sfdc.net.


Failed to refresh access token

2019-10-31 Thread Mike Ng
I follow the "Make your first API Call" and download 
googleads-dotnet-lib-master git project. I filled in 
DeveloperToken, OAuth2ClientId, OAuth2ClientSecret and OAuth2RefreshToken 
but Still I keep getting "Failed to get campaigns. Exception says "Failed 
to refresh access token. See inner exception for details.". Pls help

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f5d5f4a2-b60d-467a-a64c-89ee4f2aa7d4%40googlegroups.com.


Re: Failed to refresh access token. See inner exception for details.

2019-03-01 Thread Bob Bowles
I actually just found the problem 5 minutes ago and was about to update
this thread.   dependentAssembly entries had been removed from the web
app's web.config.  Once I added them back, everything ran fine.

On Fri, Mar 1, 2019 at 5:05 PM googleadsapi-forumadvisor via AdWords API
and Google Ads API Forum  wrote:

> Hello,
>
> As your same set of credentials are working with console app, could you
> please confirm that if your web app is pointing to the right property file?
> Also, you can try the CURL request provided below and see if you are able
> to generate the access token. If your credentials are correct, you should
> be able to generate an access token for the below CURL request.
>
> curl https://www.googleapis.com/oauth2/v4/token \
> -d refresh_token=your-refresh_token \
> -d client_id=your-client-id \
> -d client_secret=your-client-secret \
> -d grant_type=refresh_token
>
> Thanks,
> Milind, AdWords API Team
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/186v6h808qi0ga000oj6guy6omjcd9p68o30c1g68qj8c1k%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Bob Bowles

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAKaMDrsvitvrw3v8GfeV-eT%3D%3Df3P337fDz2HmKxjQwuBsX%2B04A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Failed to refresh access token. See inner exception for details.

2019-03-01 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

As your same set of credentials are working with console app, could you
please confirm that if your web app is pointing to the right property file?
Also, you can try the CURL request provided below and see if you are able
to generate the access token. If your credentials are correct, you should
be able to generate an access token for the below CURL request.

curl https://www.googleapis.com/oauth2/v4/token \
-d refresh_token=your-refresh_token \
-d client_id=your-client-id \
-d client_secret=your-client-secret \
-d grant_type=refresh_token

Thanks,
Milind, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/186v6h808qi0ga000oj6guy6omjcd9p68o30c1g68qj8c1k%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token. See inner exception for details.

2019-03-01 Thread Bob Bowles
UPDATE: The errors are happening when a user performs a function in our 
admin web app that makes calls to the AdWords API.  We also have a console 
app that runs automated updates on a daily basis.  The console app is not 
having any problems.  Just the web app.  Both apps have always used the 
identical code and credentials.

On Friday, March 1, 2019 at 12:11:49 PM UTC-5, Bob Bowles wrote:
>
> Today,  we started receiving "Failed to refresh access token. See inner 
> exception for details." on all AdWords API calls.  We did not make any code 
> changes.  This just started out of the blue. We tried generating new 
> credentials and a new refresh token but still get the same error.  We have 
> been using the AdWords API for years without issue and then suddenly this 
> problem.  Does anyone have a suggestion?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d18a9b91-44f4-4618-a88d-af467116479d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Failed to refresh access token. See inner exception for details.

2019-03-01 Thread Bob Bowles
Today,  we started receiving "Failed to refresh access token. See inner 
exception for details." on all AdWords API calls.  We did not make any code 
changes.  This just started out of the blue. We tried generating new 
credentials and a new refresh token but still get the same error.  We have 
been using the AdWords API for years without issue and then suddenly this 
problem.  Does anyone have a suggestion?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6f117a87-422f-46e1-854c-0ed7f3d7b799%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token: invalid_client

2018-11-28 Thread vibhesh
Thanks Luis, I did it carefully as you suggested and solution works for me

Yes, i am using .Net Client library 

On Wednesday, November 21, 2018 at 1:37:59 PM UTC+5:30, Luis Xander Talag 
(AdWords API Team) wrote:
>
> Hi,
>
> Could you confirm if you are using the latest .Net client library 
> <https://github.com/googleads/googleads-dotnet-lib>? Could you try to 
> generate again an OAuth2 credentials by following this guide 
> <https://developers.google.com/adwords/api/docs/guides/authentication#generate_oauth2_credentials>?
>  
> Then, try making request again. If the issue persist, could you provide the 
> complete logs so I could further investigate? 
>
> Also, I would suggest to use Google Chrome using incognito mode to make 
> sure that you are using the same email address in the whole process of 
> generating OAuth2 credentials.
>
> Thanks and regards,
> Luis
> AdWords API Team
>
> On Wednesday, November 21, 2018 at 2:25:55 PM UTC+8, vibhesh wrote:
>>
>> I am also facing the same issue, i am using Dot client library and trying 
>> get campaign using the console application. This code is working fine with 
>> my test account then i have got approval for basic access of my developer 
>> token to access production account campaign data
>>
>> generated following and replaced in my app.config
>>
>> OAuth2ClientId
>> OAuth2ClientSecret
>> OAuth2RefreshToken
>>
>> issue: when trying to get campaign then getting error given below
>>
>> Message :Failed to refresh access token
>> innerexception : Error:"invalid_client", Description:"Unauthorized", 
>> Uri:""
>> stacktrash: 
>>
>> Server stack trace: 
>>at 
>> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()
>>at 
>> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessToken()
>>at Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAuthHeader()
>>at 
>> Google.Api.Ads.Common.OAuth.OAuthClientMessageInspector.BeforeSendRequest(Message&
>>  
>> request, IClientChannel channel)
>>at 
>> System.ServiceModel.Dispatcher.ImmutableClientRuntime.BeforeSendRequest(ProxyRpc&
>>  
>> rpc)
>>at 
>> System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime
>>  
>> operation, Boolean oneway, ProxyRpc& rpc)
>>at System.ServiceModel.Channels.ServiceChannel.Call(String action, 
>> Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] 
>> outs, TimeSpan timeout)
>>at 
>> System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
>>  
>> methodCall, ProxyOperationRuntime operation)
>>at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage 
>> message)
>>
>> Exception rethrown at [0]: 
>>at 
>> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
>> reqMsg, IMessage retMsg)
>>at 
>> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
>> msgData, Int32 type)
>>at 
>> Google.Api.Ads.AdWords.v201806.CampaignServiceInterface.get(Selector 
>> serviceSelector)
>>at Google.Api.Ads.AdWords.v201806.CampaignService.get(Selector 
>> serviceSelector) in G:\AD Word 
>> Manager\googleads-dotnet-lib-master\googleads-dotnet-lib-master\src\AdWords\v201806\AdWordsApi.cs:line
>>  
>> 39105
>>at 
>> Google.Api.Ads.AdWords.Examples.CSharp.v201806.GetCampaigns.Run(AdWordsUser 
>> user) in G:\AD Word 
>> Manager\googleads-dotnet-lib-master\googleads-dotnet-lib-master\GetCampaign\Program.cs:line
>>  
>> 93
>>
>>
>>
>> [image: Failed to refresh access token.png]
>> Thanks in advance
>>
>>
>> On Tuesday, December 29, 2015 at 3:59:09 AM UTC+5:30, Umesh Dengale wrote:
>>>
>>> Hello,
>>>
>>> Could you verify that you followed all steps given in the OAuth2.0 guide 
>>> <https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuth2> for 
>>> .NET library?  Please recreate the client id and client secret and generate 
>>> refresh token using new client id and client secret key and update the 
>>> web.config file. Please check out the OAuth2.0 guide 
>>> <https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuth2> for 
>>> .NET library for more details. If still issue is not resolved then provide 
>>> the steps you followed and error message.
>>>
>>> Thanks,
>>> Umesh, AdWords API Team.
>&

Re: Failed to refresh access token. See inner exception for details.

2018-11-21 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello,

This is a pretty old thread from what it appears to be someone else. Could 
you please start a new thread with your information, so we can best help 
you and make sure your issue doesn't get confused with someone else's?

Thanks,
Nadine, AdWords API Team

On Wednesday, November 21, 2018 at 12:59:32 AM UTC-5, vibh...@whisskers.com 
wrote:
>
>
>
> On Thursday, August 16, 2018 at 11:03:37 PM UTC+5:30, rentca...@gmail.com 
> wrote:
>>
>> Hi,
>>
>> I'm getting error "Failed to refresh access token. See inner exception 
>> for details." when I try to get campaign information.  The line of code 
>> is page = campaignService.get(selector) where page = "CampaignPage".  This 
>> process works when I use it in a web application but not when I use it in a 
>> windows service.  Below is some information that I hope will be helpful in 
>> figuring out the problem.  I was not able to get the logging working in the 
>> windows service.
>>
>> CampaignService
>> {Google.Api.Ads.AdWords.v201806.CampaignService}
>> Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
>> Google.Api.Ads.AdWords.v201806.ICampaignService)}
>> ClientCredentials: {System.ServiceModel.Description.ClientCredentials}
>> EnableDecompression: True
>> Endpoint: Address={
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
>> InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> Proxy: {System.Net.WebRequest.WebProxyWrapper}
>> RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806";>
>>   Replace for security
>>   Replace for security
>>   
>> }
>> ResponseHeader: Nothing
>> Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
>> State: Created {0}
>> Timeout: 0
>> Url: "
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService";
>> User: {Google.Api.Ads.AdWords.Lib.AdWordsUser}
>> UserAgent: Nothing
>>
>> CampaignService.User.Config
>> {Google.Api.Ads.AdWords.Lib.AdWordsAppConfig}
>> AdWordsApiServer: "https://adwords.google.com";
>> ClientCustomerId: "Replace for security"
>> DeveloperToken: "Replace for security"
>> EnableGzipCompression: True
>> GMBLoginEmail: ""
>> GMBOAuth2RefreshToken: ""
>> IncludeUtilitiesInUserAgent: False
>> IncludeZeroImpressions: Nothing
>> MaskCredentials: True
>> MerchantCenterId: 0
>> OAuth2AccessToken: ""
>> OAuth2ClientId: "Replace for security"
>> OAuth2ClientSecret: "Replace for security"
>> OAuth2Mode: APPLICATION {0}
>> OAuth2PrivateKey: ""
>> OAuth2PrnEmail: ""
>> OAuth2RedirectUri: "Replace for security"
>> OAuth2RefreshToken: "Replace for security"
>> OAuth2Scope: "https://www.googleapis.com/auth/adwords";
>> OAuth2SecretsJsonPath: ""
>> OAuth2ServerUrl: "https://accounts.google.com";
>> OAuth2ServiceAccountEmail: Nothing
>> Proxy: Nothing
>> RetryCount: 0
>> Signature: "AwApi-DotNet/23.6.0, Common-Dotnet/9.4.0, .NET 
>> CLR/4.0.30319.42000, "
>> SkipColumnHeader: False
>> SkipReportHeader: False
>> SkipReportSummary: False
>> Timeout: 60
>> UnixTimestamp: 1534434608
>> UseRawEnumValues: Nothing
>> UserAgent: "Replace for security"
>>
>> selector
>> {Google.Api.Ads.AdWords.v201806.Selector}
>> dateRange: {Google.Api.Ads.AdWords.v201806.DateRange}
>> fields: {Length=7}
>> ordering: Nothing
>> paging: {LIMIT 0, 500}
>> predicates: Nothing
>> ?selector.fields
>> {Length=7}
>> (0): "Id"
>> (1): "Name"
>> (2): "Status"
>> (3): "StartDate"
>> (4): "EndDate"
>> (5): "BaseCampaignId"
>> (6): "AdvertisingChannelType"
>>
>> {"Failed to refresh access token. See inner exception for details."}
>> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean 
>> includeTaskCanceledExceptions)
>> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, 
>> CancellationToken cancellationToken) 
>> at 
>> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAcc

Re: Failed to refresh access token: invalid_client

2018-11-21 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

Could you confirm if you are using the latest .Net client library 
<https://github.com/googleads/googleads-dotnet-lib>? Could you try to 
generate again an OAuth2 credentials by following this guide 
<https://developers.google.com/adwords/api/docs/guides/authentication#generate_oauth2_credentials>?
 
Then, try making request again. If the issue persist, could you provide the 
complete logs so I could further investigate? 

Also, I would suggest to use Google Chrome using incognito mode to make 
sure that you are using the same email address in the whole process.

Thanks and regards,
Luis
AdWords API Team

On Wednesday, November 21, 2018 at 2:25:55 PM UTC+8, vibhesh wrote:
>
> I am also facing the same issue, i am using Dot client library and trying 
> get campaign using the console application. This code is working fine with 
> my test account then i have got approval for basic access of my developer 
> token to access production account campaign data
>
> generated following and replaced in my app.config
>
> OAuth2ClientId
> OAuth2ClientSecret
> OAuth2RefreshToken
>
> issue: when trying to get campaign then getting error given below
>
> Message :Failed to refresh access token
> innerexception : Error:"invalid_client", Description:"Unauthorized", Uri:""
> stacktrash: 
>
> Server stack trace: 
>at 
> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()
>at Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessToken()
>at Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAuthHeader()
>at 
> Google.Api.Ads.Common.OAuth.OAuthClientMessageInspector.BeforeSendRequest(Message&
>  
> request, IClientChannel channel)
>at 
> System.ServiceModel.Dispatcher.ImmutableClientRuntime.BeforeSendRequest(ProxyRpc&
>  
> rpc)
>at 
> System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime 
> operation, Boolean oneway, ProxyRpc& rpc)
>at System.ServiceModel.Channels.ServiceChannel.Call(String action, 
> Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] 
> outs, TimeSpan timeout)
>at 
> System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
>  
> methodCall, ProxyOperationRuntime operation)
>at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage 
> message)
>
> Exception rethrown at [0]: 
>at 
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
> reqMsg, IMessage retMsg)
>at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
> msgData, Int32 type)
>at Google.Api.Ads.AdWords.v201806.CampaignServiceInterface.get(Selector 
> serviceSelector)
>at Google.Api.Ads.AdWords.v201806.CampaignService.get(Selector 
> serviceSelector) in G:\AD Word 
> Manager\googleads-dotnet-lib-master\googleads-dotnet-lib-master\src\AdWords\v201806\AdWordsApi.cs:line
>  
> 39105
>at 
> Google.Api.Ads.AdWords.Examples.CSharp.v201806.GetCampaigns.Run(AdWordsUser 
> user) in G:\AD Word 
> Manager\googleads-dotnet-lib-master\googleads-dotnet-lib-master\GetCampaign\Program.cs:line
>  
> 93
>
>
>
> [image: Failed to refresh access token.png]
> Thanks in advance
>
>
> On Tuesday, December 29, 2015 at 3:59:09 AM UTC+5:30, Umesh Dengale wrote:
>>
>> Hello,
>>
>> Could you verify that you followed all steps given in the OAuth2.0 guide 
>> <https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuth2> for 
>> .NET library?  Please recreate the client id and client secret and generate 
>> refresh token using new client id and client secret key and update the 
>> web.config file. Please check out the OAuth2.0 guide 
>> <https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuth2> for 
>> .NET library for more details. If still issue is not resolved then provide 
>> the steps you followed and error message.
>>
>> Thanks,
>> Umesh, AdWords API Team.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/06a3d8a6-6e53-4367-b063-ee1349a5c24f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token. See inner exception for details.

2018-08-20 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello KDJ,

This was sent over to me since I've worked quite a bit with more complex 
configurations. You mentioned in your last message that you're using a 
different config file with the same credentials. Can we just for a sanity 
check make sure that all those credentials are working properly?

>From the command line, try this with your refresh token and client 
information to get an access token back, where you substitute your values 
from your config file:

curl --data 
"refresh_token=&client_id=&client_secret=&grant_type=refresh_token"
 
-X POST "https://www.googleapis.com/oauth2/v3/token";

With that access token, get the debug information for me, just in case 
something does go wrong later by putting this in your browser:

https:
//www.googleapis.com/oauth2/v3/tokeninfo?access_token=

Save off that information for me in case something goes wrong in this next 
command line. 
With that access token, try this:

curl --header "Authorization: Bearer " --header 
"developerToken: 
" --header "clientCustomerId: 
" --header "clientSecret: 
" 
https://adwords.google.com/api/adwords/reportdownload/v201806 
--data "__rdquery=SELECT CampaignName, Impressions FROM 
CAMPAIGN_PERFORMANCE_REPORT DURING LAST_MONTH&__fmt=CSV"

If anything does not work, then please, in the forum, click on the drop 
down in this message and say* Reply privately to author *with this 
information. If you're only working in Windows, there are alternatives to 
curl that you can use on Windows.

If everything is working in these commands, and you're still having issues, 
then please send me the request ID of the request that failed. If you don't 
have that, then please send me the customer ID by replying privately to the 
author on the forum. I can try to look up your request on our servers to 
see if I have more information here on what exactly failed.

Best,
Nadine, AdWords API Team

On Friday, August 17, 2018 at 6:01:37 PM UTC-4, rentcafed...@gmail.com 
wrote:
>
> Sai,
>
> I have verified that my windows service is using a separate config file.  
> I have also verified that the web application and the windows service are 
> using the same credentials.  The web application and the windows service 
> call the same dll which makes the call to the Adwords API.  Do you have any 
> other suggestions?
>
> KDJ
>
> On Friday, August 17, 2018 at 12:45:34 PM UTC-7, Teja Makani wrote:
>>
>> Hello,
>>
>> Thanks for the details, since the API call is working good for web 
>> application, you might need to check how the windows service is pulling the 
>> credentials and passing it to client libraries. Ideally, the same 
>> credentials should work provided everything else (user making the call, 
>> account etc.,) is same in both the applications. Could you please verify if 
>> there is a separate config file for windows service? Please give it a try 
>> and let me know if the problem still persists.
>>
>> Regards,
>> Sai Teja, AdWords API Team.
>>
>> On Thursday, August 16, 2018 at 1:33:37 PM UTC-4, rentca...@gmail.com 
>> wrote:
>>>
>>> Hi,
>>>
>>> I'm getting error "Failed to refresh access token. See inner exception 
>>> for details." when I try to get campaign information.  The line of code 
>>> is page = campaignService.get(selector) where page = "CampaignPage".  This 
>>> process works when I use it in a web application but not when I use it in a 
>>> windows service.  Below is some information that I hope will be helpful in 
>>> figuring out the problem.  I was not able to get the logging working in the 
>>> windows service.
>>>
>>> CampaignService
>>> {Google.Api.Ads.AdWords.v201806.CampaignService}
>>> Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>>> ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
>>> Google.Api.Ads.AdWords.v201806.ICampaignService)}
>>> ClientCredentials: 
>>> {System.ServiceModel.Description.ClientCredentials}
>>> EnableDecompression: True
>>> Endpoint: Address={
>>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
>>> InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>>> Proxy: {System.Net.WebRequest.WebProxyWrapper}
>>> RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806";>
>>>   Replace for security
>>>   Replace for security
>>>   
>>> }
>>> ResponseHeader: Nothing
>>> Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
>>> State: Created {0}

Re: Failed to refresh access token. See inner exception for details.

2018-08-17 Thread rentcafedev1
Sai,

I have verified that my windows service is using a separate config file.  I 
have also verified that the web application and the windows service are 
using the same credentials.  The web application and the windows service 
call the same dll which makes the call to the Adwords API.  Do you have any 
other suggestions?

KDJ

On Friday, August 17, 2018 at 12:45:34 PM UTC-7, Teja Makani wrote:
>
> Hello,
>
> Thanks for the details, since the API call is working good for web 
> application, you might need to check how the windows service is pulling the 
> credentials and passing it to client libraries. Ideally, the same 
> credentials should work provided everything else (user making the call, 
> account etc.,) is same in both the applications. Could you please verify if 
> there is a separate config file for windows service? Please give it a try 
> and let me know if the problem still persists.
>
> Regards,
> Sai Teja, AdWords API Team.
>
> On Thursday, August 16, 2018 at 1:33:37 PM UTC-4, rentca...@gmail.com 
> wrote:
>>
>> Hi,
>>
>> I'm getting error "Failed to refresh access token. See inner exception 
>> for details." when I try to get campaign information.  The line of code 
>> is page = campaignService.get(selector) where page = "CampaignPage".  This 
>> process works when I use it in a web application but not when I use it in a 
>> windows service.  Below is some information that I hope will be helpful in 
>> figuring out the problem.  I was not able to get the logging working in the 
>> windows service.
>>
>> CampaignService
>> {Google.Api.Ads.AdWords.v201806.CampaignService}
>> Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
>> Google.Api.Ads.AdWords.v201806.ICampaignService)}
>> ClientCredentials: {System.ServiceModel.Description.ClientCredentials}
>> EnableDecompression: True
>> Endpoint: Address={
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
>> InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> Proxy: {System.Net.WebRequest.WebProxyWrapper}
>> RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806";>
>>   Replace for security
>>   Replace for security
>>   
>> }
>> ResponseHeader: Nothing
>> Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
>> State: Created {0}
>> Timeout: 0
>> Url: "
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService";
>> User: {Google.Api.Ads.AdWords.Lib.AdWordsUser}
>> UserAgent: Nothing
>>
>> CampaignService.User.Config
>> {Google.Api.Ads.AdWords.Lib.AdWordsAppConfig}
>> AdWordsApiServer: "https://adwords.google.com";
>> ClientCustomerId: "Replace for security"
>> DeveloperToken: "Replace for security"
>> EnableGzipCompression: True
>> GMBLoginEmail: ""
>> GMBOAuth2RefreshToken: ""
>> IncludeUtilitiesInUserAgent: False
>> IncludeZeroImpressions: Nothing
>> MaskCredentials: True
>> MerchantCenterId: 0
>> OAuth2AccessToken: ""
>> OAuth2ClientId: "Replace for security"
>> OAuth2ClientSecret: "Replace for security"
>> OAuth2Mode: APPLICATION {0}
>> OAuth2PrivateKey: ""
>> OAuth2PrnEmail: ""
>> OAuth2RedirectUri: "Replace for security"
>> OAuth2RefreshToken: "Replace for security"
>> OAuth2Scope: "https://www.googleapis.com/auth/adwords";
>> OAuth2SecretsJsonPath: ""
>> OAuth2ServerUrl: "https://accounts.google.com";
>> OAuth2ServiceAccountEmail: Nothing
>> Proxy: Nothing
>> RetryCount: 0
>> Signature: "AwApi-DotNet/23.6.0, Common-Dotnet/9.4.0, .NET 
>> CLR/4.0.30319.42000, "
>> SkipColumnHeader: False
>>     SkipReportHeader: False
>> SkipReportSummary: False
>> Timeout: 60
>> UnixTimestamp: 1534434608
>> UseRawEnumValues: Nothing
>> UserAgent: "Replace for security"
>>
>> selector
>> {Google.Api.Ads.AdWords.v201806.Selector}
>> dateRange: {Google.Api.Ads.AdWords.v201806.DateRange}
>> fields: {Length=7}
>> ordering: Nothing
>> paging: {LIMIT 0, 500}
>> predicates: Nothing
>> ?selector.fields
>> {Length=7}
>> (0): "Id"
>> (1): "Name"
&

Re: Failed to refresh access token. See inner exception for details.

2018-08-17 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello,

Thanks for the details, since the API call is working good for web 
application, you might need to check how the windows service is pulling the 
credentials and passing it to client libraries. Ideally, the same 
credentials should work provided everything else (user making the call, 
account etc.,) is same in both the applications. Could you please verify if 
there is a separate config file for windows service? Please give it a try 
and let me know if the problem still persists.

Regards,
Sai Teja, AdWords API Team.

On Thursday, August 16, 2018 at 1:33:37 PM UTC-4, rentca...@gmail.com wrote:
>
> Hi,
>
> I'm getting error "Failed to refresh access token. See inner exception for 
> details." when I try to get campaign information.  The line of code is page 
> = campaignService.get(selector) where page = "CampaignPage".  This process 
> works when I use it in a web application but not when I use it in a windows 
> service.  Below is some information that I hope will be helpful in figuring 
> out the problem.  I was not able to get the logging working in the windows 
> service.
>
> CampaignService
> {Google.Api.Ads.AdWords.v201806.CampaignService}
> Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
> ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
> Google.Api.Ads.AdWords.v201806.ICampaignService)}
> ClientCredentials: {System.ServiceModel.Description.ClientCredentials}
> EnableDecompression: True
> Endpoint: Address={
> https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
> InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
> Proxy: {System.Net.WebRequest.WebProxyWrapper}
> RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806";>
>   Replace for security
>   Replace for security
>   
> }
> ResponseHeader: Nothing
> Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
> State: Created {0}
> Timeout: 0
> Url: "
> https://adwords.google.com/api/adwords/cm/v201806/CampaignService";
> User: {Google.Api.Ads.AdWords.Lib.AdWordsUser}
> UserAgent: Nothing
>
> CampaignService.User.Config
> {Google.Api.Ads.AdWords.Lib.AdWordsAppConfig}
> AdWordsApiServer: "https://adwords.google.com";
> ClientCustomerId: "Replace for security"
> DeveloperToken: "Replace for security"
> EnableGzipCompression: True
> GMBLoginEmail: ""
> GMBOAuth2RefreshToken: ""
> IncludeUtilitiesInUserAgent: False
> IncludeZeroImpressions: Nothing
> MaskCredentials: True
> MerchantCenterId: 0
> OAuth2AccessToken: ""
> OAuth2ClientId: "Replace for security"
> OAuth2ClientSecret: "Replace for security"
> OAuth2Mode: APPLICATION {0}
> OAuth2PrivateKey: ""
> OAuth2PrnEmail: ""
> OAuth2RedirectUri: "Replace for security"
> OAuth2RefreshToken: "Replace for security"
> OAuth2Scope: "https://www.googleapis.com/auth/adwords";
> OAuth2SecretsJsonPath: ""
> OAuth2ServerUrl: "https://accounts.google.com";
> OAuth2ServiceAccountEmail: Nothing
> Proxy: Nothing
> RetryCount: 0
> Signature: "AwApi-DotNet/23.6.0, Common-Dotnet/9.4.0, .NET 
> CLR/4.0.30319.42000, "
> SkipColumnHeader: False
> SkipReportHeader: False
> SkipReportSummary: False
> Timeout: 60
> UnixTimestamp: 1534434608
> UseRawEnumValues: Nothing
> UserAgent: "Replace for security"
>
> selector
> {Google.Api.Ads.AdWords.v201806.Selector}
> dateRange: {Google.Api.Ads.AdWords.v201806.DateRange}
> fields: {Length=7}
> ordering: Nothing
> paging: {LIMIT 0, 500}
> predicates: Nothing
> ?selector.fields
> {Length=7}
> (0): "Id"
> (1): "Name"
> (2): "Status"
> (3): "StartDate"
> (4): "EndDate"
> (5): "BaseCampaignId"
> (6): "AdvertisingChannelType"
>
> {"Failed to refresh access token. See inner exception for details."}
> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean 
> includeTaskCanceledExceptions)
> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, 
> CancellationToken cancellationToken) 
> at 
> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAccessTokenForAuthorizationCodeFlow()
>   
> at 
> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()
>
> Error Occurred Message: Failed to retrieve campaign(s). Stack Trace:at 
> YSI.Ads.GoogleAdwo

Re: Failed to refresh access token. See inner exception for details.

2018-08-16 Thread rentcafedev1
Sai Teja,

We are you VB.net library to make this call.  

As I mention in my previous email the call work fine with I'm making it 
through a web application, it just does not work when I make the call from 
a windows service.  Please note:  Both web application and the windows 
service hit the same code to make the call.  I should not need to generate 
a new refresh token since it works from my web application.

Please advise!

KDJ

On Thursday, August 16, 2018 at 2:53:49 PM UTC-7, Teja Makani wrote:
>
> Hello,
>
> Could you please confirm whether you are using AdWords .NET client library 
> <https://github.com/googleads/google-ads-dotnet> for this call? If not 
> could you please share the code snippet that is making the call? You could 
> also cross verify that you are following the steps required to make API 
> call from here 
> <https://github.com/googleads/google-ads-dotnet#how-do-i-make-api-calls>.
>
> Also, to verify that your credentials are correct, you could try the CURL 
> request provided below and see if you are able to generate the access 
> token. If your credentials are correct, you should be able to generate an 
> access token for the below CURL request.
>
> curl https://www.googleapis.com/oauth2/v4/token \
> -d refresh_token=your-refresh_token \
> -d client_id=your-client-id \
> -d client_secret=your-client-secret \
> -d grant_type=refresh_token
>
> If your credentials are incorrect or still facing issue then you could try 
> generating a new refresh token with the help of this guide 
> <https://developers.google.com/adwords/api/docs/guides/first-api-call#get_an_oauth2_refresh_token_and_configure_your_client>
>  and 
> retry your request. 
>
> Regards,
> Sai Teja, AdWords API Team.
>
> On Thursday, August 16, 2018 at 1:33:37 PM UTC-4, rentca...@gmail.com 
> wrote:
>>
>> Hi,
>>
>> I'm getting error "Failed to refresh access token. See inner exception 
>> for details." when I try to get campaign information.  The line of code 
>> is page = campaignService.get(selector) where page = "CampaignPage".  This 
>> process works when I use it in a web application but not when I use it in a 
>> windows service.  Below is some information that I hope will be helpful in 
>> figuring out the problem.  I was not able to get the logging working in the 
>> windows service.
>>
>> CampaignService
>> {Google.Api.Ads.AdWords.v201806.CampaignService}
>> Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
>> Google.Api.Ads.AdWords.v201806.ICampaignService)}
>> ClientCredentials: {System.ServiceModel.Description.ClientCredentials}
>> EnableDecompression: True
>> Endpoint: Address={
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
>> InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> Proxy: {System.Net.WebRequest.WebProxyWrapper}
>> RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806";>
>>   Replace for security
>>   Replace for security
>>   
>> }
>> ResponseHeader: Nothing
>> Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
>> State: Created {0}
>> Timeout: 0
>> Url: "
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService";
>> User: {Google.Api.Ads.AdWords.Lib.AdWordsUser}
>> UserAgent: Nothing
>>
>> CampaignService.User.Config
>> {Google.Api.Ads.AdWords.Lib.AdWordsAppConfig}
>> AdWordsApiServer: "https://adwords.google.com";
>> ClientCustomerId: "Replace for security"
>> DeveloperToken: "Replace for security"
>> EnableGzipCompression: True
>> GMBLoginEmail: ""
>> GMBOAuth2RefreshToken: ""
>> IncludeUtilitiesInUserAgent: False
>> IncludeZeroImpressions: Nothing
>> MaskCredentials: True
>> MerchantCenterId: 0
>> OAuth2AccessToken: ""
>> OAuth2ClientId: "Replace for security"
>> OAuth2ClientSecret: "Replace for security"
>> OAuth2Mode: APPLICATION {0}
>> OAuth2PrivateKey: ""
>> OAuth2PrnEmail: ""
>> OAuth2RedirectUri: "Replace for security"
>> OAuth2RefreshToken: "Replace for security"
>> OAuth2Scope: "https://www.googleapis.com/auth/adwords";
>> OAuth2SecretsJsonPath: ""
>> OAuth2ServerUrl: "https://accounts.google.com";
>> OAuth2ServiceAccountEmail: Noth

Re: Failed to refresh access token. See inner exception for details.

2018-08-16 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello,

Could you please confirm whether you are using AdWords .NET client library 
<https://github.com/googleads/google-ads-dotnet> for this call? If not 
could you please share the code snippet that is making the call? You could 
also cross verify that you are following the steps required to make API 
call from here 
<https://github.com/googleads/google-ads-dotnet#how-do-i-make-api-calls>.

Also, to verify that your credentials are correct, you could try the CURL 
request provided below and see if you are able to generate the access 
token. If your credentials are correct, you should be able to generate an 
access token for the below CURL request.

curl https://www.googleapis.com/oauth2/v4/token \
-d refresh_token=your-refresh_token \
-d client_id=your-client-id \
-d client_secret=your-client-secret \
-d grant_type=refresh_token

If your credentials are incorrect or still facing issue then you could try 
generating a new refresh token with the help of this guide 
<https://developers.google.com/adwords/api/docs/guides/first-api-call#get_an_oauth2_refresh_token_and_configure_your_client>
 and 
retry your request. 

Regards,
Sai Teja, AdWords API Team.

On Thursday, August 16, 2018 at 1:33:37 PM UTC-4, rentca...@gmail.com wrote:
>
> Hi,
>
> I'm getting error "Failed to refresh access token. See inner exception for 
> details." when I try to get campaign information.  The line of code is page 
> = campaignService.get(selector) where page = "CampaignPage".  This process 
> works when I use it in a web application but not when I use it in a windows 
> service.  Below is some information that I hope will be helpful in figuring 
> out the problem.  I was not able to get the logging working in the windows 
> service.
>
> CampaignService
> {Google.Api.Ads.AdWords.v201806.CampaignService}
> Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
> ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
> Google.Api.Ads.AdWords.v201806.ICampaignService)}
> ClientCredentials: {System.ServiceModel.Description.ClientCredentials}
> EnableDecompression: True
> Endpoint: Address={
> https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
> InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
> Proxy: {System.Net.WebRequest.WebProxyWrapper}
> RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806";>
>   Replace for security
>   Replace for security
>   
> }
> ResponseHeader: Nothing
> Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
> State: Created {0}
> Timeout: 0
> Url: "
> https://adwords.google.com/api/adwords/cm/v201806/CampaignService";
> User: {Google.Api.Ads.AdWords.Lib.AdWordsUser}
> UserAgent: Nothing
>
> CampaignService.User.Config
> {Google.Api.Ads.AdWords.Lib.AdWordsAppConfig}
> AdWordsApiServer: "https://adwords.google.com";
> ClientCustomerId: "Replace for security"
> DeveloperToken: "Replace for security"
> EnableGzipCompression: True
> GMBLoginEmail: ""
> GMBOAuth2RefreshToken: ""
> IncludeUtilitiesInUserAgent: False
> IncludeZeroImpressions: Nothing
> MaskCredentials: True
> MerchantCenterId: 0
> OAuth2AccessToken: ""
> OAuth2ClientId: "Replace for security"
> OAuth2ClientSecret: "Replace for security"
> OAuth2Mode: APPLICATION {0}
> OAuth2PrivateKey: ""
> OAuth2PrnEmail: ""
> OAuth2RedirectUri: "Replace for security"
> OAuth2RefreshToken: "Replace for security"
> OAuth2Scope: "https://www.googleapis.com/auth/adwords";
> OAuth2SecretsJsonPath: ""
> OAuth2ServerUrl: "https://accounts.google.com";
> OAuth2ServiceAccountEmail: Nothing
> Proxy: Nothing
> RetryCount: 0
> Signature: "AwApi-DotNet/23.6.0, Common-Dotnet/9.4.0, .NET 
> CLR/4.0.30319.42000, "
> SkipColumnHeader: False
> SkipReportHeader: False
> SkipReportSummary: False
> Timeout: 60
> UnixTimestamp: 1534434608
> UseRawEnumValues: Nothing
> UserAgent: "Replace for security"
>
> selector
> {Google.Api.Ads.AdWords.v201806.Selector}
> dateRange: {Google.Api.Ads.AdWords.v201806.DateRange}
> fields: {Length=7}
> ordering: Nothing
> paging: {LIMIT 0, 500}
> predicates: Nothing
> ?selector.fields
> {Length=7}
> (0): "Id"
> (1): "Name"
> (2): "Status"
> (3): "StartDate"
> (4): "EndDate"
> (5): "BaseCampaignId"
>

Failed to refresh access token. See inner exception for details.

2018-08-16 Thread rentcafedev1
Hi,

I'm getting error "Failed to refresh access token. See inner exception for 
details." when I try to get campaign information.  The line of code is page 
= campaignService.get(selector) where page = "CampaignPage".  This process 
works when I use it in a web application but not when I use it in a windows 
service.  Below is some information that I hope will be helpful in figuring 
out the problem.  I was not able to get the logging working in the windows 
service.

CampaignService
{Google.Api.Ads.AdWords.v201806.CampaignService}
Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
Google.Api.Ads.AdWords.v201806.ICampaignService)}
ClientCredentials: {System.ServiceModel.Description.ClientCredentials}
EnableDecompression: True
Endpoint: 
Address={https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
Proxy: {System.Net.WebRequest.WebProxyWrapper}
RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806";>
  Replace for security
  Replace for security
  
}
ResponseHeader: Nothing
Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
State: Created {0}
Timeout: 0
Url: "https://adwords.google.com/api/adwords/cm/v201806/CampaignService";
User: {Google.Api.Ads.AdWords.Lib.AdWordsUser}
UserAgent: Nothing

CampaignService.User.Config
{Google.Api.Ads.AdWords.Lib.AdWordsAppConfig}
AdWordsApiServer: "https://adwords.google.com";
ClientCustomerId: "Replace for security"
DeveloperToken: "Replace for security"
EnableGzipCompression: True
GMBLoginEmail: ""
GMBOAuth2RefreshToken: ""
IncludeUtilitiesInUserAgent: False
IncludeZeroImpressions: Nothing
MaskCredentials: True
MerchantCenterId: 0
OAuth2AccessToken: ""
OAuth2ClientId: "Replace for security"
OAuth2ClientSecret: "Replace for security"
OAuth2Mode: APPLICATION {0}
OAuth2PrivateKey: ""
OAuth2PrnEmail: ""
OAuth2RedirectUri: "Replace for security"
OAuth2RefreshToken: "Replace for security"
OAuth2Scope: "https://www.googleapis.com/auth/adwords";
OAuth2SecretsJsonPath: ""
OAuth2ServerUrl: "https://accounts.google.com";
OAuth2ServiceAccountEmail: Nothing
Proxy: Nothing
RetryCount: 0
Signature: "AwApi-DotNet/23.6.0, Common-Dotnet/9.4.0, .NET 
CLR/4.0.30319.42000, "
SkipColumnHeader: False
SkipReportHeader: False
SkipReportSummary: False
Timeout: 60
UnixTimestamp: 1534434608
UseRawEnumValues: Nothing
UserAgent: "Replace for security"

selector
{Google.Api.Ads.AdWords.v201806.Selector}
dateRange: {Google.Api.Ads.AdWords.v201806.DateRange}
fields: {Length=7}
ordering: Nothing
paging: {LIMIT 0, 500}
predicates: Nothing
?selector.fields
{Length=7}
(0): "Id"
(1): "Name"
(2): "Status"
(3): "StartDate"
(4): "EndDate"
(5): "BaseCampaignId"
(6): "AdvertisingChannelType"

{"Failed to refresh access token. See inner exception for details."}
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean 
includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, 
CancellationToken cancellationToken) 
at 
Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAccessTokenForAuthorizationCodeFlow()
  
at 
Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()

Error Occurred Message: Failed to retrieve campaign(s). Stack Trace:at 
YSI.Ads.GoogleAdwordsHelper.GetListOfCampaigns(String during, DateTime 
startDate, DateTime endDate) in 
C:\TFS\Cafés\yCPC\Source\GoogleAdwords.vb:line 1711   at 
YSI.Cafe.RC.SiteManager.AdWordsAutomatedTasks.ImportAdwordsCampaigns() in 
C:\TFS\Cafés\RentCafe\Source\ManagerCafe\AppClasses\AdWordsAutomatedTasks.vb:line
 
337   at RCDaily.AdwordsImportCampaignRoutine.ImportAdwordsCampaigns() in 
C:\TFS\Cafés\RentCafe\Source\RCDaily\AdwordsImportCampaignsTasks.vb:line 
33   at RCDaily.AdwordsImportCampaignRoutine.OnExecute(IJobExecutionContext 
context) in 
C:\TFS\Cafés\RentCafe\Source\RCDaily\AdwordsImportCampaignsTasks.vb:line 
27   at RCDaily.yJob.Execute(IJobExecutionContext context) in 
C:\TFS\Cafés\RentCafe\Source\RCDaily\yJob.vb:line 10 Source: YSI.Ads Inner 
Message 1: One or more errors occurred. Inner Stack Trace 1:at 
System.Threading.Tasks.Task.ThrowIfExceptional(Boolean 
includeTaskCanceledExceptions)   at System.Threading.Tasks.Task.Wait(Int32 
millisecondsTimeout, CancellationToken cancellationToken)   at 
Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAccessTokenForAuthorizationCodeFlow()
  
 at 

Re: Error: Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access token

2018-08-08 Thread ari metaforum

>
> Check whether the api will have the Exception Handling.
>
Regards,
Hari 
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e1060acd-8f4d-4ab5-b3f0-6cbeef9f034e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token

2018-08-08 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

It seems that you have opened a similar concern in this thread 
<https://groups.google.com/forum/#!msg/adwords-api/boJr-DJuGhM/QGp1e9cMCgAJ> in 
which I have responded to. You may reply on that thread for better 
tracking. 

Regards,
Dannison
AdWords API Team

On Wednesday, August 8, 2018 at 12:58:00 PM UTC+8, 
dwh.synergy.controlcen...@gmail.com wrote:
>
>
> Server stack trace: at 
> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()
>  
> at Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessToken() at 
> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAuthHeader() at 
> Google.Api.Ads.Common.OAuth.OAuthClientMessageInspector.BeforeSendRequest(Message&
>  
> request, IClientChannel channel) at 
> System.ServiceModel.Dispatcher.ImmutableClientRuntime.BeforeSendRequest(ProxyRpc&
>  
> rpc) at 
> System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime 
> operation, Boolean oneway, ProxyRpc& rpc) at 
> System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean 
> oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, 
> TimeSpan timeout) at 
> System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean 
> oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at 
> System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
>  
> methodCall, ProxyOperationRuntime operation) at 
> System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
>
> Exception rethrown at [0]: at 
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
> reqMsg, IMessage retMsg) at 
> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
> msgData, Int32 type) at 
> Google.Api.Ads.AdWords.v201806.CampaignServiceInterface.get(Selector 
> serviceSelector) at 
> Google.Api.Ads.AdWords.v201806.CampaignService.get(Selector 
> serviceSelector) at ScriptMain.CreateNewOutputRows() in 
> c:\Users\FedyaM\AppData\Local\Temp\2\Vsta\6c95f6106f164c08b1865ecdaa76d41d\main.
> cs:line 202 at UserComponent.PrimeOutput(Int32 Outputs, Int32[] 
> OutputIDs, PipelineBuffer[] Buffers, OutputNameMap OutputMap) in 
> c:\Users\FedyaM\AppData\Local\Temp\2\Vsta\6c95f6106f164c08b1865ecdaa76d41d\ComponentWrapper.
> cs:line 85 at 
> Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.PrimeOutput(Int32 
> outputs, Int32[] outputIDs, PipelineBuffer[] buffers)
> 5:55 PM <https://mm.synergy.ru/develop/pl/k8psj1g3mbd4zp4sdj86enmd3w>
>
> Failed to refresh access token. See inner exception for details.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/687cf174-ccaf-4287-85e1-903772535331%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Failed to refresh access token

2018-08-07 Thread dwh . synergy . controlcenter


Server stack trace: at 
Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()
 
at Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessToken() at 
Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAuthHeader() at 
Google.Api.Ads.Common.OAuth.OAuthClientMessageInspector.BeforeSendRequest(Message&
 
request, IClientChannel channel) at 
System.ServiceModel.Dispatcher.ImmutableClientRuntime.BeforeSendRequest(ProxyRpc&
 
rpc) at 
System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime 
operation, Boolean oneway, ProxyRpc& rpc) at 
System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean 
oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, 
TimeSpan timeout) at 
System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean 
oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at 
System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
 
methodCall, ProxyOperationRuntime operation) at 
System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: at 
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
reqMsg, IMessage retMsg) at 
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
msgData, Int32 type) at 
Google.Api.Ads.AdWords.v201806.CampaignServiceInterface.get(Selector 
serviceSelector) at 
Google.Api.Ads.AdWords.v201806.CampaignService.get(Selector 
serviceSelector) at ScriptMain.CreateNewOutputRows() in 
c:\Users\FedyaM\AppData\Local\Temp\2\Vsta\6c95f6106f164c08b1865ecdaa76d41d\main.
cs:line 202 at UserComponent.PrimeOutput(Int32 Outputs, Int32[] OutputIDs, 
PipelineBuffer[] Buffers, OutputNameMap OutputMap) in 
c:\Users\FedyaM\AppData\Local\Temp\2\Vsta\6c95f6106f164c08b1865ecdaa76d41d\ComponentWrapper.
cs:line 85 at 
Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.PrimeOutput(Int32 
outputs, Int32[] outputIDs, PipelineBuffer[] buffers)
5:55 PM <https://mm.synergy.ru/develop/pl/k8psj1g3mbd4zp4sdj86enmd3w>

Failed to refresh access token. See inner exception for details.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5927ab18-e0ab-4e89-bfc5-f9110831a6ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access token

2018-08-07 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

The error *Failed to refresh access token* appears when you did not refresh 
your access token. Could you confirm if you have followed the steps in getting 
your refresh token 
<https://developers.google.com/adwords/api/docs/guides/first-api-call#get_an_oauth2_refresh_token_and_configure_your_client>?
 
If not, could you follow the guide and add the refresh token in your 
properties file? 

Let me know how this goes.

Regards,
Dannison
AdWords API Team

On Wednesday, August 8, 2018 at 4:22:26 AM UTC+8, 
dwh.synergy.controlcen...@gmail.com wrote:
>
> Error: Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh 
> access token
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0bcd4abd-c8bd-4aa3-aa4d-61cedcde39c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error: Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access token

2018-08-07 Thread dwh . synergy . controlcenter
Error: Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh 
access token

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6bb4ff6b-9470-48f3-a71f-e10dca446f2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token error after updating Google Adwords library version from v201708 to v201802

2018-03-07 Thread Shafeena Kabir
Hi Vincent,
Thank you very much for your help!

I was able to figure out that the property file contained duplicate keys 
for OAuth2 client ID, client secret , refresh token , developer token etc 
after API version migration. The issue got resolved after the duplicate 
keys with blank values where removed.

Thanks,
Shafeena

On Tuesday, 6 March 2018 14:41:23 UTC+8, Vincent Racaza (AdWords API Team) 
wrote:
>
> Hi Shafeena,
>
> Could you confirm if after your migration, you did not change the values 
> of your OAuth2 credentials in your property file? If you did not change 
> anything 
> in your property file and if the user still exists in your AdWords account, 
> then it should have worked in v201802 API version.
>
> Based on the error description "The OAUth client was not found", it seems 
> that the API user is not existing (or it has been removed) in your manager 
> or client account, or the client ID was deleted in the Google API Console 
> Credential  page. 
> So I can further investigate this, can you provide to me your complete 
> error logs, clientCustomerId and the email address of your API user via 
> *Reply 
> privately to author* option?
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/cc43369e-6c52-460f-9d56-406691a84a07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token error after updating Google Adwords library version from v201708 to v201802

2018-03-05 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Shafeena,

Could you confirm if after your migration, you did not change the values of 
your OAuth2 credentials in your property file? If you did not change anything 
in your property file and if the user still exists in your AdWords account, 
then it should have worked in v201802 API version.

Based on the error description "The OAUth client was not found", it seems 
that the API user is not existing (or it has been removed) in your manager 
or client account, or the client ID was deleted in the Google API Console 
Credential  page. 
So I can further investigate this, can you provide to me your complete 
error logs, clientCustomerId and the email address of your API user via *Reply 
privately to author* option?

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/51a422cc-82b5-4e28-9f6c-81204677ef49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Failed to refresh access token error after updating Google Adwords library version from v201708 to v201802

2018-03-05 Thread Shafeena Kabir
Hi team,
I am getting below error while making API calls after I have updated 
Adwords API version from 201708 to 201802. Please help to look into this 
issue.

Failed to refresh access token.
{
  "error" : "invalid_client",
  "error_description" : "The OAuth client was not found."
} 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/a785e8c7-320d-4771-adab-02eb7b71db4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token

2017-03-08 Thread 'Peter Oliquino' via AdWords API Forum
Hi Ran,

The error you experienced was a temporary issue and is very unusual to 
occur. Even so, catching the error is possible once implemented at your 
end, however, automatically recreating the refresh token is currently not 
possible as it is only generated manually. Additionally, could you confirm 
as well if as you said, you experience this issue once every month? If yes, 
I would recommend that you create a new forum thread and we'll continue our 
discussion from there.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/449d34e0-ad68-4b93-93f4-11902ac3a167%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token

2017-03-08 Thread ran
Hello Peter,

We recreated the RefreshToken again using the guide and it did work.
Meanwhile, this problem started reproducing about once a month.
Recreating the token works every time.

However, we didn't see in the guide a way to do the whole process of 
recreacting a refresh token automatically.
We can't seem to bypass the manual Google authentication through the 
browser (this is a web application client).

Did we miss something or there's simply no way to catch that error and 
automatically recreate the refresh token?

Thanks,
Ran.

On Monday, January 23, 2017 at 11:18:41 AM UTC+2, Peter Oliquino wrote:
>
> Hi Guy,
>
> I would recommend that you recreate your refreshToken by following this 
> guide 
> .
>  
> Please let me know if this works.
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/e0296c01-53c3-42a1-8f52-878ffa5ff536%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token

2017-01-23 Thread 'Peter Oliquino' via AdWords API Forum
Hi Guy,

I would recommend that you recreate your refreshToken by following this 
guide 
.
 
Please let me know if this works.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/a238acb0-53e6-487d-980c-f98e6c49212c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Failed to refresh access token

2017-01-23 Thread guy
Hi,
we sometimes get this error:
Failed to refresh access token.
{
  "error" : "invalid_grant"
}

It first happened after more than a year with our token and second we 
recreated a token and it happened again after about 1.5 months.

Does anybody know why it happens? How can we prevent it?
Thanks,
Guy 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/90f627f4-bc5f-4762-a435-169aeb44098c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token(internal_failure)

2016-09-12 Thread gorkem . adwords
Hi there i am getting same errors with this email account credentials on 
php library

8 Eylül 2016 Perşembe 23:43:47 UTC+3 tarihinde Shwetha Vastrad (AdWords API 
Team) yazdı:
>
> Hi, 
>
> Could you provide the email account used to generate your credentials and 
> the ID of the AdWords account you are targeting in your request? Is this 
> error occurring intermittently? Does retrying the request help? Any logs 
> you can provide will be helpful. Please use *Reply privately to author* when 
> responding.
>
> Thanks,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/e389161a-5609-4988-8d33-cc1cbac0323f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token(internal_failure)

2016-09-08 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, 

Could you provide the email account used to generate your credentials and 
the ID of the AdWords account you are targeting in your request? Is this 
error occurring intermittently? Does retrying the request help? Any logs 
you can provide will be helpful. Please use *Reply privately to author* when 
responding.

Thanks,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/fc0bbca6-884c-4400-9eec-aa28a649b595%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token(internal_failure)

2016-09-08 Thread Flatiron GA
also i am getting error for valid tokens like

"Failed to refresh access token  \"error\" : \"internal_failure"

what could be the issue, i am using test account

this account needs to be approved ?

On Thu, Sep 8, 2016 at 4:19 PM, 'Shwetha Vastrad (AdWords API Team)' via
AdWords API Forum  wrote:

> Hi,
>
> Access tokens have an expiration time
> <https://developers.google.com/adwords/api/docs/guides/authentication#access_token_expiration>,
> typically 1 hour. You should use your refresh token to refresh an expired
> access token as and when necessary. Let me know if refreshing the access
> token resolves the issue.
>
> Regards,
> Shwetha, AdWords API Team.
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and Google+:
> https://googleadsdeveloper.blogspot.com/
> https://plus.google.com/+GoogleAdsDevelopers/posts
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/adwords-api/GtCq_o8ShKc/unsubscribe.
> To unsubscribe from this group and all its topics, 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/97ab3a45-8a1c-4f47-9c34-8938606a5051%40googlegroups.com
> <https://groups.google.com/d/msgid/adwords-api/97ab3a45-8a1c-4f47-9c34-8938606a5051%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/CAO3ZQkBPgrC1xGSMqbmLeFunMOJakhQJCW0YStqMF48vP4d-HQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token(internal_failure)

2016-09-08 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

Access tokens have an expiration time 
,
 
typically 1 hour. You should use your refresh token to refresh an expired 
access token as and when necessary. Let me know if refreshing the access 
token resolves the issue. 

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/97ab3a45-8a1c-4f47-9c34-8938606a5051%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Failed to refresh access token(internal_failure)

2016-09-08 Thread firmgadownload
Hi,

Can someone from the AdWords team please help with resolving this issue

"Failed to refresh access token  \"error\" : \"internal_failure"

How frequent token will expire, i am using only one Adwords account, after 
some time i am getting error like 
"Failed to refresh access token  \"error\" : \"Invalid_grant"

Thanks
FM

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/18314a16-ff93-4c15-a775-adc119a13bb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token, getting "Unable to connect to the remote server"

2016-04-24 Thread Pravin Yadav

 Hi Yin,

 Yes something mismatched in generating Client ID & Client Secret 
now it's working.

 Thanks for your valuable suggestions.



Regards,

Pravin Yadav, Jr. Software Developer 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/a7205501-a087-4d47-9b02-02d7d97559de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token, getting "Unable to connect to the remote server"

2016-04-21 Thread 'Yin Niu' via AdWords API Forum
Hi Pravin, 

Make sure when you generate client id/secret, you select other 

 for installed applications 

 type. 

Thanks,
Yin, AdWords API Team. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/99efbff8-6b8e-4241-826e-e75aa54989b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token, getting "Unable to connect to the remote server"

2016-04-20 Thread 'Yin Niu' via AdWords API Forum
Hi Pravin, 

Are you able to generate token using the OAuth 2.0 playground? If not, then 
it's probably your networking settings are not correct. 

Thanks,
Yin, AdWords API Team.  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/04355f15-36f5-4f12-99c3-c55abf199a63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Failed to refresh access token, getting "Unable to connect to the remote server"

2016-04-20 Thread Pravin Yadav

Hi,

 I getting following error when i accessing adwords data.

 Error:-
   Failed to refresh access token.
   Unable to connect to the remote server

 i am using a proxy / transparent proxy for network setting then its 
matter for that if yes then how can i generate access token within proxy 
setting.

Please reply the same.



Thanks & Regards,

  Pravin Yadav 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/5cf461f5-566a-4127-945c-278806819488%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Failed to refresh access token

2016-04-19 Thread AdWords API User
We are starting to see "Failed to refresh access token" errors for our 
client accounts.  

There have been no recent changes to our application.  We have tried to 
refresh the token using OAuthTokenGenerator.exe, but the token generator 
itself returns the error message: "500. That’s an error. There was an 
error. Please try again later. That’s all we know."  A similar query has 
recently been posted on StackOverflow: 
http://stackoverflow.com/questions/36720282/since-today-google-500-error

Can you confirm whether there are any current issues with the OAuth service?

Regards,


John

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/9e5aba78-23b7-4eff-8e58-3608f2ea59d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token: invalid_client

2015-12-28 Thread Umesh Dengale
Hello,

Could you verify that you followed all steps given in the OAuth2.0 guide 
 for 
.NET library?  Please recreate the client id and client secret and generate 
refresh token using new client id and client secret key and update the 
web.config file. Please check out the OAuth2.0 guide 
 for 
.NET library for more details. If still issue is not resolved then provide 
the steps you followed and error message.

Thanks,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/c202f1fa-94e9-46ea-be96-2df5dc4523f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Failed to refresh access token: invalid_client

2015-12-28 Thread yadygarovadt
I am using Adwords API .NET library, MCC account is linked with company's 
account, developer token has basic access. 
The OAuth client worked correctly for 14-15 days till this Monday morning 
(28.12.2015), and now I'm getting next error:
Failed to refresh access token.
{
  "error" : "invalid_client",
  "error_description" : "The OAuth client was not found."
}
I've changed OAuth credentials, generated new refresh token, but still 
getting this error. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
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/00c55d14-e629-4142-b7da-1abe143d25d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Adword Oauth Error: Failed to refresh access token.

2014-10-14 Thread Mahesh Kafaltiya
Hi, I am getting  following error ,while  refreshing my OAUTH 
access token for each google adwords sub clients. I have started getting 
them very frequently now. Please suggest if I am doing anything wrong?

ApiVersion: v201406 (lib18.3) 

 Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access 
token.
{
  "error" : "internal_failure"
}


   Code Snippest:

AdWordsAppConfig adWordsAppConfig = new AdWordsAppConfig();
OAuth2ProviderForApplications oAuth2Provider = new 
OAuth2ProviderForApplications(adWordsAppConfig);
// isOffline is required for installed application
oAuth2Provider.IsOffline = true;
oAuth2Provider.RefreshAccessTokenIfExpiring(); // this method 
causing exception.

AdWordsUser user = new AdWordsUser(headers);
user.OAuthProvider = oAuth2Provider;
return user;

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8fc84e49-6008-4d94-a810-e9b016985e60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token. { "error" : "invalid_client" } on perfectly good client

2014-10-03 Thread Ernnie Sangalang
Hi Danial Klimkin,

We are also experiencing similar issue lately. Any update on this?

Thanks,
--Ernnie

On Monday, July 21, 2014 6:02:06 PM UTC+8, Danial Klimkin wrote:
>
> Hello All,
>
>
> We've identified this was an internal issue. The relevant team noticed it 
> and resolved it quickly, this should no longer cause an error.
>
>
> -Danial, AdWords API Team.
>
>
> On Friday, July 18, 2014 6:29:21 AM UTC+4, NET_Api_User wrote:
>>
>> +1. We're seeing a huge number of these errors - on about 2% of our 
>> calls. Retrying seems to help. We moved to the latest .NET release 
>> recently. 
>>
>> On Thursday, July 17, 2014 4:04:29 PM UTC+5:30, Zweitze wrote:
>>>
>>> Hi,
>>>
>>> This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred:
>>> Failed to refresh access token.
>>> {
>>> "error" : "invalid_client"
>>> }
>>>
>>> Unfortunately the .NET library destroyed all extra information, so I 
>>> don't have response headers, HTTP status code etc.
>>> Anyway, the error occurred a eight times in total, between 05.25h and 
>>> 07.41h (CEST), but in that period we also did manage to retrieve access 
>>> tokens. Before that, or after that, we had no problems.
>>>
>>> So, what does the error mean? Obviously it doesn't mean that the 
>>> supplied clientid and clientsecret do not exist.
>>> And how does one handle this error? Can one retry the call?
>>>
>>> Thanks in advance!
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/97dfad85-453f-444f-aaa6-3515c5adc8fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token. { "error" : "invalid_client" } on perfectly good client

2014-09-29 Thread Gal Gubesi
Hi, 

Any news on this one? I started getting them daily lately

Thanks

On Monday, July 21, 2014 1:02:06 PM UTC+3, Danial Klimkin wrote:
>
> Hello All,
>
>
> We've identified this was an internal issue. The relevant team noticed it 
> and resolved it quickly, this should no longer cause an error.
>
>
> -Danial, AdWords API Team.
>
>
> On Friday, July 18, 2014 6:29:21 AM UTC+4, NET_Api_User wrote:
>>
>> +1. We're seeing a huge number of these errors - on about 2% of our 
>> calls. Retrying seems to help. We moved to the latest .NET release 
>> recently. 
>>
>> On Thursday, July 17, 2014 4:04:29 PM UTC+5:30, Zweitze wrote:
>>>
>>> Hi,
>>>
>>> This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred:
>>> Failed to refresh access token.
>>> {
>>> "error" : "invalid_client"
>>> }
>>>
>>> Unfortunately the .NET library destroyed all extra information, so I 
>>> don't have response headers, HTTP status code etc.
>>> Anyway, the error occurred a eight times in total, between 05.25h and 
>>> 07.41h (CEST), but in that period we also did manage to retrieve access 
>>> tokens. Before that, or after that, we had no problems.
>>>
>>> So, what does the error mean? Obviously it doesn't mean that the 
>>> supplied clientid and clientsecret do not exist.
>>> And how does one handle this error? Can one retry the call?
>>>
>>> Thanks in advance!
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fab5a9d3-14f6-47d1-92cb-ae063cb73ccb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token. { "error" : "invalid_client" } on perfectly good client

2014-07-21 Thread Danial Klimkin
Hello All,


We've identified this was an internal issue. The relevant team noticed it 
and resolved it quickly, this should no longer cause an error.


-Danial, AdWords API Team.


On Friday, July 18, 2014 6:29:21 AM UTC+4, NET_Api_User wrote:
>
> +1. We're seeing a huge number of these errors - on about 2% of our calls. 
> Retrying seems to help. We moved to the latest .NET release recently. 
>
> On Thursday, July 17, 2014 4:04:29 PM UTC+5:30, Zweitze wrote:
>>
>> Hi,
>>
>> This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred:
>> Failed to refresh access token.
>> {
>> "error" : "invalid_client"
>> }
>>
>> Unfortunately the .NET library destroyed all extra information, so I 
>> don't have response headers, HTTP status code etc.
>> Anyway, the error occurred a eight times in total, between 05.25h and 
>> 07.41h (CEST), but in that period we also did manage to retrieve access 
>> tokens. Before that, or after that, we had no problems.
>>
>> So, what does the error mean? Obviously it doesn't mean that the supplied 
>> clientid and clientsecret do not exist.
>> And how does one handle this error? Can one retry the call?
>>
>> Thanks in advance!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/d/optout.


Re: Failed to refresh access token. { "error" : "invalid_client" } on perfectly good client

2014-07-17 Thread NET_Api_User
+1. We're seeing a huge number of these errors - on about 2% of our calls. 
Retrying seems to help. We moved to the latest .NET release recently. 

On Thursday, July 17, 2014 4:04:29 PM UTC+5:30, Zweitze wrote:
>
> Hi,
>
> This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred:
> Failed to refresh access token.
> {
> "error" : "invalid_client"
> }
>
> Unfortunately the .NET library destroyed all extra information, so I don't 
> have response headers, HTTP status code etc.
> Anyway, the error occurred a eight times in total, between 05.25h and 
> 07.41h (CEST), but in that period we also did manage to retrieve access 
> tokens. Before that, or after that, we had no problems.
>
> So, what does the error mean? Obviously it doesn't mean that the supplied 
> clientid and clientsecret do not exist.
> And how does one handle this error? Can one retry the call?
>
> Thanks in advance!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/d/optout.


Re: Failed to refresh access token. { "error" : "invalid_client" } on perfectly good client

2014-07-17 Thread Zweitze
In my case: I use .NET 16.7.

Call stack:
 Google.Api.Ads.AdWords.v201402.FeedMappingService.get (Selector selector)
Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke (String methodName, Object[] 
parameters)
 Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall (String methodName, 
Object[] parameters)
 Google.Api.Ads.AdWords.Lib.AdWordsSoapClient.InitForCall (String 
methodName, Object[] parameters)
 Google.Api.Ads.Common.Lib.OAuth2ProviderBase.GetAuthHeader ()
 Google.Api.Ads.Common.Lib.OAuth2ProviderBase.RefreshAccessTokenIfExpiring 
()
 Google.Api.Ads.Common.Lib.OAuth2ProviderForApplications.RefreshAccessToken 
()
 
Google.Api.Ads.Common.Lib.OAuth2ProviderForApplications.RefreshAccessTokenInOfflineMode
 
()

The call went this morning OK for (probably) a dozen or so times, and 
failed eight times. Every time the same RefreshToken, ClientId and 
ClientSecret were passed. It didn't happen on previous days / weeks / 
months.



On Thursday, July 17, 2014 2:12:09 PM UTC+2, Danial Klimkin wrote:
>
> Hello,
>
>
> Did you update the client libraries recently or are they the same you've 
> used before?
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, July 17, 2014 2:34:29 PM UTC+4, Zweitze wrote:
>>
>> Hi,
>>
>> This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred:
>> Failed to refresh access token.
>> {
>> "error" : "invalid_client"
>> }
>>
>> Unfortunately the .NET library destroyed all extra information, so I 
>> don't have response headers, HTTP status code etc.
>> Anyway, the error occurred a eight times in total, between 05.25h and 
>> 07.41h (CEST), but in that period we also did manage to retrieve access 
>> tokens. Before that, or after that, we had no problems.
>>
>> So, what does the error mean? Obviously it doesn't mean that the supplied 
>> clientid and clientsecret do not exist.
>> And how does one handle this error? Can one retry the call?
>>
>> Thanks in advance!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/d/optout.


Re: Failed to refresh access token. { "error" : "invalid_client" } on perfectly good client

2014-07-17 Thread Danial Klimkin
We are looking into this issue, I'll update this thread once we have any 
updates.


-Danial, AdWords API Team.


On Thursday, July 17, 2014 5:04:38 PM UTC+4, oseemann wrote:
>
> We're experiencing the same issue, but the errors are transient. They 
> happen sometimes for some accounts and are not reproducible.
>
> It started approx. 11 hours ago.
>
> On Thursday, July 17, 2014 12:34:29 PM UTC+2, Zweitze wrote:
>>
>> Hi,
>>
>> This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred:
>> Failed to refresh access token.
>> {
>> "error" : "invalid_client"
>> }
>>
>> Unfortunately the .NET library destroyed all extra information, so I 
>> don't have response headers, HTTP status code etc.
>> Anyway, the error occurred a eight times in total, between 05.25h and 
>> 07.41h (CEST), but in that period we also did manage to retrieve access 
>> tokens. Before that, or after that, we had no problems.
>>
>> So, what does the error mean? Obviously it doesn't mean that the supplied 
>> clientid and clientsecret do not exist.
>> And how does one handle this error? Can one retry the call?
>>
>> Thanks in advance!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/d/optout.


Re: Failed to refresh access token. { "error" : "invalid_client" } on perfectly good client

2014-07-17 Thread oseemann
We're experiencing the same issue, but the errors are transient. They 
happen sometimes for some accounts and are not reproducible.

It started approx. 11 hours ago.

On Thursday, July 17, 2014 12:34:29 PM UTC+2, Zweitze wrote:
>
> Hi,
>
> This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred:
> Failed to refresh access token.
> {
> "error" : "invalid_client"
> }
>
> Unfortunately the .NET library destroyed all extra information, so I don't 
> have response headers, HTTP status code etc.
> Anyway, the error occurred a eight times in total, between 05.25h and 
> 07.41h (CEST), but in that period we also did manage to retrieve access 
> tokens. Before that, or after that, we had no problems.
>
> So, what does the error mean? Obviously it doesn't mean that the supplied 
> clientid and clientsecret do not exist.
> And how does one handle this error? Can one retry the call?
>
> Thanks in advance!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/d/optout.


Re: Failed to refresh access token. { "error" : "invalid_client" } on perfectly good client

2014-07-17 Thread Danial Klimkin
Hello,


Did you update the client libraries recently or are they the same you've 
used before?


-Danial, AdWords API Team.


On Thursday, July 17, 2014 2:34:29 PM UTC+4, Zweitze wrote:
>
> Hi,
>
> This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred:
> Failed to refresh access token.
> {
> "error" : "invalid_client"
> }
>
> Unfortunately the .NET library destroyed all extra information, so I don't 
> have response headers, HTTP status code etc.
> Anyway, the error occurred a eight times in total, between 05.25h and 
> 07.41h (CEST), but in that period we also did manage to retrieve access 
> tokens. Before that, or after that, we had no problems.
>
> So, what does the error mean? Obviously it doesn't mean that the supplied 
> clientid and clientsecret do not exist.
> And how does one handle this error? Can one retry the call?
>
> Thanks in advance!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/d/optout.


Re: Failed to refresh access token. { "error" : "invalid_client" } on perfectly good client

2014-07-17 Thread Dominik R
Same here with the PHP library:

Fatal error: Uncaught exception 'OAuth2Exception' with message '{
  "error" : "invalid_client"
}' in AdWords/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php:121


On Thursday, July 17, 2014 12:34:29 PM UTC+2, Zweitze wrote:
>
> Hi,
>
> This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred:
> Failed to refresh access token.
> {
> "error" : "invalid_client"
> }
>
> Unfortunately the .NET library destroyed all extra information, so I don't 
> have response headers, HTTP status code etc.
> Anyway, the error occurred a eight times in total, between 05.25h and 
> 07.41h (CEST), but in that period we also did manage to retrieve access 
> tokens. Before that, or after that, we had no problems.
>
> So, what does the error mean? Obviously it doesn't mean that the supplied 
> clientid and clientsecret do not exist.
> And how does one handle this error? Can one retry the call?
>
> Thanks in advance!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/d/optout.


Failed to refresh access token. { "error" : "invalid_client" } on perfectly good client

2014-07-17 Thread Zweitze
Hi,

This morning a Google.Api.Ads.Common.Lib.AdsOAuthException occurred:
Failed to refresh access token.
{
"error" : "invalid_client"
}

Unfortunately the .NET library destroyed all extra information, so I don't 
have response headers, HTTP status code etc.
Anyway, the error occurred a eight times in total, between 05.25h and 
07.41h (CEST), but in that period we also did manage to retrieve access 
tokens. Before that, or after that, we had no problems.

So, what does the error mean? Obviously it doesn't mean that the supplied 
clientid and clientsecret do not exist.
And how does one handle this error? Can one retry the call?

Thanks in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/d/optout.