Yes I am a google app domain administrator. I have a user in the MCC production account "jus...@campaignium.com" . I used this user to create the service account in the google developer console. Then I went in in google apps domain and gave rights to the "client id" of the service account user that I created, for the adwords api "https://adwords.google.com/api/adwords/". The developer account we applied for, was in our production MCC account (its pending). We created a test MCC with a couple test ad accounts. I should be able to access the test MCC through the API with the temp production dev token and service account correct? Heres my app.config (using google adwords api wrapper c# project from github)
<add key="ClientCustomerId" value="809-256-3457"/> <add key="AuthorizationMethod" value="OAuth2" /> <add key="OAuth2Mode" value="SERVICE_ACCOUNT" /> <add key="OAuth2ServiceAccountEmail" value="{removedforsecurity}@developer.gserviceaccount.com" /> <add key="OAuth2PrnEmail" value="jus...@campaignium.com" /> <add key="OAuth2JwtCertificatePath" value="C:\Users\Justin\Downloads\{removedforsecurity}-privatekey.p12" /> <add key="OAuth2JwtCertificatePassword" value="notasecret" /> Does everything look ok? I'm trying to call GetCampains Thanks! On Thursday, June 19, 2014 5:18:06 AM UTC-5, Danial Klimkin wrote: > > Hello Justin, > > > Are you a Google App domain administrator? For all other cases please use > an offline or web flow instead, see this guide for more details: > > https://developers.google.com/adwords/api/docs/guides/authentication > > The first error means you are trying to access the account that doesn't > match your OAuth token. The most common issue here is that you may > generated OAuth2 token under your developer account. Please log off of any > google account and make sure to log in under your *AdWords* user before > generating the OAuth2 tokens. > > The second error means you haven't accepted Terms and Conditions or have > no approved developer token. Please make sure to set up billing and accept > T&C under your *MCC account* as described here: > > https://developers.google.com/adwords/api/docs/signingup > > > -Danial, AdWords API Team. > > On Wednesday, June 18, 2014 11:25:02 PM UTC+4, jus...@campaignium.com > wrote: >> >> I'm trying to get some test data from the AdWords API and find it to be >> quite overwhelming with the amount of conflicting documentation about test >> accounts, mcc's, client id's, service account client ids, etc etc. >> >> I am currently finally able to receive a token from the Google OAuth >> server, with my service account - however any actual API calls always fail >> with 1 of 2 results >> >> AuthorizationError.USER_PERMISSION_DENIED >> >> QuotaCheckError.INCOMPLETE_SIGNUP >> >> I can invoke either error by changing values in the web.config of the >> google adwords api code that I grabbed off of GitHub. Would someone please >> be so kind to help walk me through this? I dont know if its an issue with >> the developer token, the oauth token, the MCC id, the service account, the >> account/username that has to go with the service account ( "OAuth2PrnEmail" >> does it have to be the same as what was used to generate the service >> account?) >> >> Please please help >> >> Thanks >> Justin >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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.