Based on your other questions posted in this group, I'm assuming that you're asking about how to populate the credentials when making a call to getClientAccounts(). As I mentioned in a separate thread, in that situation you'd want to specify your MCC's email address and password for the "email" and "password" header, and you'd want to leave the "clientEmail" header blank. This will result in the request being made in the effective context of the MCC account, which is what you want.
There are likely to be some other API calls that you want to specify the clientEmail header for, though. Rather than manually editing the ~/ adwords.properties file each time you need to switch between contexts you might want to look into using one of the other constructors for the AdWordsUser() Java object--specifically, use a constructor that lets you specify all the header values as a Hashtable, rather than reading them in from the ~/adwords.properties file. This should give you more flexibility when switching between different clientEmail values or when you need to leave out clientEmail entirely. Cheers, -Jeff Posnick, AdWords API Team On Oct 2, 1:14 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Java Programming. AWAPI_JAVA_LIB_2.1.0 > > Thanks, > > On Oct 2, 2:04 am, "Jan Piotrowski (AdWords API Guru)" > > <[EMAIL PROTECTED]> wrote: > > Sorry, still don't get it. > > > What programming language, API library or example code are you using? > > > - Jan > > > On 1 Okt., 20:54, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > Basically, my question is from Adwords.properties which is under API. > > > > We're trying to get all the client accounts for given Master account > > > or Company account. > > > When creating credentials, email and password should be MCC account > > > info? > > > > Thanks > > > > On Oct 1, 11:47 am, "Jan Piotrowski (AdWords API Guru)" > > > > <[EMAIL PROTECTED]> wrote: > > > > Where is this information from? > > > > What script or example are you using? > > > > > - Jan- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~----------~----~----~----~------~----~------~--~---