ServiceAccount not working on new API verson

2017-06-07 Thread Rafael Machado
Hello, Since my last API update, I'm not able to create an AdWordsUser using a ServiceAccount. I get the following error: "Looks like your application is not configured to use OAuth2 properly. Required OAuth2 parameter ServiceAccountEmail is missing" But I'm using the "OAuth2ServiceAccountEma

Re: ServiceAccount not working on new API verson

2017-06-07 Thread Rafael Machado
Hello, I managed to find a document saying that P12 keys are no longer accepted. I then created a new JSON Key, but I'm getting a "Bad Data" System.Security.Cryptography.CryptographicException... Thanks, Rafael On Wednesday, June 7, 2017 at 4:51:12 PM UTC-3, Rafael Machado wrote: > > Hello, >

Re: ServiceAccount not working on new API verson

2017-06-07 Thread 'Ivan Bautista' via AdWords API Forum
Hi Rafael, We strongly recommend using installed app flow as it is a simpler alternative that achieves similar goal

Re: ServiceAccount not working on new API verson

2017-06-08 Thread Rafael Machado
Hello Ivan, Thanks, the installed app flow worked very well! I have two doubts: first of all, will I need to refresh the token from times to times? Because my service is automated on a server... Second, I also use the Analytics Auth via the P12 key and a service Account Email, something like this:

Re: ServiceAccount not working on new API verson

2017-06-08 Thread 'Ivan Bautista' via AdWords API Forum
Hi Rafael, As per documentation , you can persist the refresh token to refresh expired access token