Re: .net adwords api 'Failed to get access token for service account'

2015-08-21 Thread Danial Klimkin
Hello Senthil, This is a year old non-related thread. Please start a new one instead of resurrecting this old one. -Danial, AdWords API Team. On Thursday, August 20, 2015 at 10:10:51 PM UTC+2, Senthil Palaniswami wrote: David, I am using the V201506 API in C# .Net Application by

Re: .net adwords api 'Failed to get access token for service account'

2015-08-20 Thread Senthil Palaniswami
David, I am using the V201506 API in C# .Net Application by Service Account. I use Service Account Email .P12 Key file to access this, but i get the below error. Could you please assist ? Thanks *Failed to get access token for service account.* *{* * error : unauthorized_client,* *

Re: .net adwords api 'Failed to get access token for service account'

2014-04-14 Thread Danial Klimkin
Hello David, There is definitely a limit on how often you can request a new refresh / access tokens. It's recommended to re-share them between threads / services. -Danial, AdWords API Team. On Friday, April 11, 2014 5:57:36 PM UTC+4, DavM wrote: Hi Danial I've managed to eradicate

Re: .net adwords api 'Failed to get access token for service account'

2014-04-11 Thread DavM
Hi Danial I've managed to eradicate 'Failed to get access token for service account.{ error : invalid_request}}' for now by sharing the AdWordsUser object between all threads in my application. Does that mean the error can relate to throttling? Cheers David On Thursday, 10 April 2014

Re: .net adwords api 'Failed to get access token for service account'

2014-04-10 Thread Danial Klimkin
Hello, We recommend to either use Installed application or Web application flows. The former one for the cases when you manage only your accounts (all accounts are linked to a single MCC) and the latter when you manage unlinked 3rd party accounts. In both cases, user interaction is only

Re: .net adwords api 'Failed to get access token for service account'

2014-04-10 Thread otsergoulas
Hello, My problem is that i use the adwords api on various scheduled tasks that user interaction is not possible. Can you describe me or redirect me to a link that shows clearly how to use adwords api with no user interaction? Is this even possible? Thanks Τη Πέμπτη, 10 Απριλίου 2014 2:54:56

Re: .net adwords api 'Failed to get access token for service account'

2014-04-10 Thread Danial Klimkin
Hello, As mentioned above, user interaction is required only once, user needs to indicate he / she agrees the account will be managed by your application. When this is done you receive a refresh token which can be used in your scheduled tasks with no additional user interaction required.

Re: .net adwords api 'Failed to get access token for service account'

2014-04-09 Thread otsergoulas
To be specific i get *Failed to get access token for service account.\n{\n \error\ : \invalid_request\\n}}* But the weird part is that i get and after calling the service for about a minute. Until then no errors are shown and i get my reports correctly. Any ideas? Τη Τρίτη, 8 Απριλίου 2014

Re: .net adwords api 'Failed to get access token for service account'

2014-04-09 Thread otsergoulas
To be specific i get *Failed to get access token for service account.\n{\n \error\ : \invalid_request\\n}}* But the weird part is that i get this message after calling the service for about a minute. Until then no errors are shown and i get my reports correctly. Any ideas? Τη Τρίτη, 8

Re: .net adwords api 'Failed to get access token for service account'

2014-04-09 Thread Danial Klimkin
Hello, Are you running a Google Apps domain? In most cases, you should not be using Service Accounts unless you need very specific features like impersonation. Please see this guide for more details: https://developers.google.com/adwords/api/docs/guides/service-accounts -Danial, AdWords

Re: .net adwords api 'Failed to get access token for service account'

2014-04-09 Thread otsergoulas
Thanks for the reply. Yes i am running a Google Apps domain. I implemented each step of the procedure correctly i guess as i get some results back. But sometimes i get *Failed to get access token for service account.\n{\n \error\ : \invalid_request\\n}}* Do i miss something? Otherwise is

Re: .net adwords api 'Failed to get access token for service account'

2014-04-09 Thread DavM
I'm having the same problem with *Failed to get access token for service account.\n{\n \error\ : \invalid_request\\n}}* I'm using the .net client library. It seems that after retrying several times (more than 5 attempts) it eventually works which is quite unusual. On Wednesday, 9 April 2014

.net adwords api 'Failed to get access token for service account'

2014-04-08 Thread otsergoulas
Hi, i use the new adwords api (v201402) and i have trouble downloading reports via api. I have successfully completed the entire procedure of service account (https://developers.google.com/adwords/api/docs/guides/service-accounts). I use this configuration: add key=OAuth2Mode