Hi Kevin, I do have a similar issue. I can execute a get() call against ManagedCustomerService but then, when attempting to use the CustomerIDs I retrieved into DownloadReportWithAwql (substituting the previous headers with each clientCustomerId ) I do get an exception back:
HTTP code: 400, type: 'AuthenticationError.CLIENT_CUSTOMER_ID_INVALID', trigger: '<null>', field path: '' any clue? regards, G. On Monday, June 10, 2013 3:47:07 PM UTC+2, Kevin Winter (AdWords API Team) wrote: > > Hi Madhav, > The 403 error means the username and password are incorrect. First, > double-check you have the correct values by typing (no copy&paste) the > username and password to log into the UI: https://adwords.google.com > > Assuming this works, re-type those same values into your application > (whether you store them in a file or database) and try again. If that > doesn't work, it's possible the email/password have characters that need to > be escaped in URLs. If you are using one of our client libraries, they > should handle this for you. If you aren't, I'd recommend trying one of the > samples in our client libraries to rule out custom ClientLogin code as the > culprit. > > If you wrote the ClientLogin code yourself, make sure that it is correctly > URL-encoding <http://en.wikipedia.org/wiki/Percent-encoding> both the > email and password values. > > - Kevin Winter > AdWords API Team > > On Wednesday, June 5, 2013 1:41:11 AM UTC-4, Madhav Kakani wrote: >> >> >> Hi Takeshi, >> >> Can you please help me with the following issue? >> >> I am able to generate to the Auth Token for a regular Google AdWords >> account using the Adwords api. However when I use the MCC login credentials >> for another client using the exact same code, I am unable to generate the >> Auth Token and I get the following message: >> >> Error=BadAuthentication Url= >> https://www.google.com/accounts/ServiceLogin?service=adwords#Email=mcc%company.comInfo=WebLoginRequired >> System.HttpResponse[Status=Forbidden, StatusCode=403] >> >> From the web I am able to login manually using the same MCC credentials. >> Do I need to enable some kind of access or ?? >> >> Can one of you let me know how I can resolve this error? I am really >> stuck at this point. >> >> Thanks >> Madhav >> >> Note: I understand clientlogin is deprecated and I will be migrating to >> OAuth soon. >> >> On Friday, December 14, 2012 2:08:36 PM UTC+1, Takeshi Hagikura (AdWords >> API Team) wrote: >>> >>> Hello >>> >>> 1) You should use the MCC's one. >>> >>> 2) It depends on what clientCustomerId, you want to make a change or >>> retrieve the data. >>> >>> e.g. You authenticate using your MCC account, and includes your client >>> account Id in the "clientCustomerId" header. >>> You are gonna make a request toward the client account you include. >>> >>> Best, >>> - Takeshi, AdWords API Team >>> >>> On Tuesday, December 11, 2012 11:05:29 AM UTC+9, dquigz wrote: >>>> >>>> Hi, >>>> >>>> I have an adwords account that is linked to the company MCC account for >>>> billing. I have a developer token from the MCC account. >>>> >>>> A few questions. >>>> >>>> 1) Which accounts email and password should I be using to retrieve the >>>> auth token? >>>> >>>> 2) Which accounts client customer id should I be using when making API >>>> calls? >>>> >>>> Thanks >>>> >>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.