Hello,

I'm using AdWords .net api library vid service account and when i'm trying 
to call some method i got this error:

{"Failed to get access token for service account.\n{\n  \"error\" : 
\"access_denied\",\n  \"error_description\" : \"Requested client not 
authorized.\"\n}"}


My App.Config looks like this:

<add key="DeveloperToken" value="~token"/>
<add key="OAuth2Mode" value="SERVICE_ACCOUNT" />
    <add key="OAuth2ServiceAccountEmail"
        value="emailfromdevelopercons...@developer.gserviceaccount.com" />
    <add key="OAuth2PrnEmail" value="mymmcem...@mydomain.net" />
    <add key="OAuth2JwtCertificatePath"
        value="pathToCert" />
    <add key="OAuth2JwtCertificatePassword"
        value="notasecret" />
<add key="ClientCustomerId" value="111-111-1111"/>

I also correlated my clientId with adWords scope, accroding to this 
guide 
https://developers.google.com/drive/web/delegation#delegate_domain-wide_authority_to_your_service_account.
 

But it doesn't work. What could i do wrong?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0ec3d9f2-5456-477b-be5e-f3e510b9ea32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to