Hello Dyutiman, I'm sorry, I don't follow what the problem is here. You don't need any additional details for the accounts other than their login email address (or, if you don't have that but for some reason do have their client id number, you can use the clientCustomerId header instead of clientEmail). You can retrieve the login emails of all your client accounts by running the getClientAccountInfos() call from the context of your MCC account (i.e. without specifying anything for the clientEmail header):
http://code.google.com/intl/en/apis/adwords/docs/developer/AccountService.html#getClientAccountInfos Cheers, -Jeff Posnick, AdWords API Team On Feb 6, 6:04 am, dyutiman <dyutiman.chaudh...@gmail.com> wrote: > hey Jeff, > Thanks for your reply. So as you said for changing MaxCpc for each > client every time I have to change the "clientEmail" header for that > account. That is my problem is. As of now I don't have all details for > those accounts, I was just accessing them with MCC details. > > On Jan 29, 9:23 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > Hello Dyutiman, > > > I think there's some confusion. If you have the login and password > > for an MCC account, and also the login email for a client account, and > > want to act on behalf of the client account (to change one of its > > keyword's maxCpc, for instance) you'd want to do the following for the > > SOAP request headers: > > > - set the "email" header to the login email for the MCC account > > - set the "password" header to the password for the MCC account > > - set the "clientEmail" header to the login email for the client > > AdWords account > > > You should not set the "clientEmail" header to the login email of an > > MCC account. > > > Cheers, > > -Jeff Posnick, AdWords API Team > > > On Jan 29, 2:51 am, dyutiman <dyutiman.chaudh...@gmail.com> wrote: > > > > Hi, > > > When I was trying to set maxCpc for a keyword I was getting the > > > following error : > > > "This adgroup is accessible to the user, but does not belong to the > > > current customer, set the clientEmail header to an appropriate login". > > > Its produced particularly for 'createCriterionObject' call. > > > In my authentication file I have a MCC account details in > > > Client_Email, as I am downloading report for many accounts under this > > > MCC account. But while trying to set MaxCpc for a keyword under an > > > account I am getting this error. > > > > Instead if I use the email set for the account in Client_Email then > > > its working perfectly. Is there any reason I cant use my MCC account > > > details while updating MaxCpc for a keyword. > > > Anybody faced the problem before? > > > > thanks > > > Dyutiman --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---