Hi Simon, The ManagedCustomerService uses a Generic Selector (unlike the ServicedAccountService, which used it's own). This selector is shared from the CM namespace: https://developers.google.com/adwords/api/docs/reference/latest/ManagedCustomerService.Selector
You will need an xmlns='https://adwords.google.com/api/adwords/cm/v201206' on the serviceSelector element (I believe) - just like how you specify the cm namespace for the RequestHeader elements. Might I recommend the VB.net client library<http://code.google.com/p/google-api-adwords-dotnet/>that handles this for you? - Kevin Winter AdWords API Team On Friday, July 13, 2012 8:16:41 AM UTC-4, Simon Day wrote: > > Hi, > > We have developed a number of custom VB functions to enable reporting on > and managing Adwords accounts. I'm trying to upgrade from v201109 to > v201206 but seem to be having issues straight away! > > The first thing I need to do is list the client accounts under a given MCC > account. I can see the service I need to use has changed from > ServicedAccountService to ManagedCustomerService, so having updated to this > and swapped the 'Selector' to 'serviceSelector', and specified valid fields > but am getting the error "[SelectorError.MISSING_FIELDS @ serviceSelector]" > when posting to the production environment, and > "InternalApiError.UNEXPECTED_INTERNAL_API_ERROR" when posting to the > sandbox. > > My XML looks like this: > <?xml version='1.0' encoding='utf-8'?> > <soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' > xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' > xmlns:xsd='http://www.w3.org/2001/XMLSchema' > xmlns:cm='https://adwords.google.com/api/adwords/cm/v201206' > xmlns:mcm='https://adwords.google.com/api/adwords/mcm/v201206'> > <soap:Header> > <mcm:RequestHeader> > <cm:authToken>XXX</cm:authToken> > <cm:applicationToken>YYY</cm:applicationToken> > <cm:developerToken>ZZZ</cm:developerToken> > </mcm:RequestHeader> > </soap:Header> > <soap:Body> > <get xmlns='https://adwords.google.com/api/adwords/mcm/v201206'> > <serviceSelector> > <fields>Name</fields> > <fields>Login</fields> > <fields>CompanyName</fields> > <fields>CustomerId</fields> > <fields>CanManageClients</fields> > <fields>CurrencyCode</fields> > <fields>DateTimeZone</fields> > </serviceSelector> > </get> > </soap:Body> > </soap:Envelope> > > Can anyone point me in the right direction? > > Thanks > Simon > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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