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="xxx@developer.gserviceaccount.com" />
<add key="OAuth2PrnEmail" value="xxx" /><add key="OAuth2JwtCertificatePath" value="path-privatekey.p12" /><add key="OAuth2JwtCertificatePassword" value="xxx" />
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="xxx@developer.gserviceaccount.com" />
<add key="OAuth2PrnEmail" value="xxx" /><add key="OAuth2JwtCertificatePath" value="path-privatekey.p12" /><add key="OAuth2JwtCertificatePassword" value="xxx" />
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:-Danial, AdWords API Team.
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" />
<add key="OAuth2PrnEmail" value="xxx" /><add key="OAuth2JwtCertificatePath" value="path-privatekey.p12" /><add key="OAuth2JwtCertificatePassword" value="xxx" />
Failed to get access token for service account.
{
"error" : "unauthorized_client",
"error_description" : "Unauthorized client or scope in request."
}