Service account enabled/granted access but error when making REST API calls

690 views
Skip to first unread message

adx.join...@gmail.com

unread,
Sep 18, 2014, 4:01:29 PM9/18/14
to google-doubleclick-a...@googlegroups.com
We have trouble when making calls to the REST API and the SOAP API.
AdX Support (AM) has enabled REST API email access on our 2 AdX accounts - but we still get error messages.

1. This is the error message we get when making a call to the REST API on 

Message[No permission to access resource. Please contact your technical account manager.] Location[ - ] Reason[forbidden] Domain[global]

2. Making a SOAP API call gives:

Failed to get access token for service account.

{

 "error" : "unauthorized_client",

 "error_description" : "Unauthorized client or scope in request."

}

Any idea what is happening?

(We have a valid MCC token as well)

Mark Saniscalchi

unread,
Sep 19, 2014, 1:07:47 PM9/19/14
to google-doubleclick-a...@googlegroups.com
Hello,

It's probably best to tackle these issues separately, so let's start with the REST API.

With Service Accounts, they need to be registered with your AdX account separately from your Google account. If it isn't added, you will not have permission to view your own account details when you authorize with this flow. We can check whether this was set up properly, but I'll need your Service Account's email address (found in the Developer's Console) and your Account ID. I wouldn't suggest you post those here, so let's continue this conversation via our support alias-- adxbuyera...@google.com.

Regards,
Mark Saniscalchi

Ad OpsX

unread,
Sep 19, 2014, 3:02:11 PM9/19/14
to google-doubleclick-a...@googlegroups.com
Hi Mark,
Our TAM has made some changes and it seems to work now - if not, we will contact you on the alias below. /Niklas
Reply all
Reply to author
Forward
0 new messages