Hello, The issue might be with the ruleOperands <https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService.UserListLogicalRule#ruleOperands> . This attribute should be a list of LogicalUserListOperand <https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService.LogicalUserListOperand>s, each of which in turn has a child UserList element. Could you make these changes and try the request again? If you continue to have an issue with this, could you share the complete SOAP request and response logs, so I can take a look at the error you're receiving? Please sue Reply privately to author option to share the details.
Regards, Bharani, AdWords API Team On Tuesday, December 26, 2017 at 6:42:09 AM UTC-5, [email protected] wrote: > > Hi all, > I have a problem when I try to create LogicalUserList. Please help > me correct the code. > > <x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:v1="https://adwords.google.com/api/adwords/rm/v201702" > xmlns:v2="https://adwords.google.com/api/adwords/cm/v201702" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <x:Header> > <v1:RequestHeader> > <v2:clientCustomerId>*xxx-xxx-xxx*</v2:clientCustomerId> > <v2:developerToken>*xxxxxxx*</v2:developerToken> > <v2:userAgent>unknown</v2:userAgent> > <v2:validateOnly>false</v2:validateOnly> > <v2:partialFailure>false</v2:partialFailure> > </v1:RequestHeader> > </x:Header> > <x:Body> > <mutate xmlns="https://adwords.google.com/api/adwords/rm/v201702"> > <v1:operations> > <v2:operator>ADD</v2:operator> > <operand > xmlns:ns8="https://adwords.google.com/api/adwords/rm/v201702" > xsi:type="ns8:LogicalUserList"> > <v1:name>*test name*</v1:name> > <v1:rules> > <v1:operator>AND</v1:operator> > <v1:ruleOperands> > <v1:id >510671287</v1:id> > </v1:ruleOperands> > <v1:ruleOperands> > <v1:id>513226703</v1:id> > </v1:ruleOperands> > </v1:rules> > </operand> > </v1:operations> > </mutate> > </x:Body> > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] 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 --- 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 [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/72353033-8735-43fb-838d-c8c98d4be41a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
