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 there a way to use the api with <add key="OAuth2Mode" 
value="APPLICATION" /> without user interaction?


Τη Τετάρτη, 9 Απριλίου 2014 3:43:10 μ.μ. UTC+3, ο χρήστης 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 API Team.
>
>
> On Tuesday, April 8, 2014 7:22:56 PM UTC+4, otser...@allthingsweb.grwrote:
>>
>> 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" value="SERVICE_ACCOUNT" />
>>     <add key="OAuth2ServiceAccountEmail" value="
>> x...@developer.gserviceaccount.com <javascript:>" />
>>     <add key="OAuth2PrnEmail" value="xxx" />
>>     <add key="OAuth2JwtCertificatePath" value="path-privatekey.p12" />
>>     <add key="OAuth2JwtCertificatePassword" value="xxx" />
>>
>> and i have registered the scope successfully
>>
>> But sometimes (not always) i get this message : *"Failed to get access 
>> token for service account" *
>>
>> Can you help me please?
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.

Reply via email to