Hi 

The relationship between Rule and RuleItem is as follows : Rule 
<https://developers.google.com/adwords/api/docs/reference/v201708/AdwordsUserListService.Rule>
 -> groups(RuleItemGroup[]) 
<https://developers.google.com/adwords/api/docs/reference/v201708/AdwordsUserListService.RuleItemGroup>
 -> items(RuleItem[]) 
<https://developers.google.com/adwords/api/docs/reference/v201708/AdwordsUserListService.RuleItem>.
 
In the WSDL 
<https://adwords.google.com/api/adwords/rm/v201708/AdwordsUserListService?wsdl>
, you should be able to find the definitions for Rule, RuleItemGroup and 
RuleItems as the complexType "Rule", "RuleItemGroup" and "RuleItem" 
respectively. I am also attaching a sample snippet from the SOAP logs which 
shows the relationship.  
              
                   
                      <ns2:rule>
                        <ns2:groups>
                            <ns2:items>
                                <ns2:StringRuleItem>
                                    <ns2:key>
                                        <ns2:name>ecomm_pagetype</ns2:name>
                                    </ns2:key>
                                    <ns2:op>EQUALS</ns2:op>
                                    <ns2:value>checkout</ns2:value>
                                </ns2:StringRuleItem>
                            </ns2:items>
                            <ns2:items>
                                <ns2:NumberRuleItem>
                                    <ns2:key>
                                        <ns2:name>cartsize</ns2:name>
                                    </ns2:key>
                                    <ns2:op>GREATER_THAN</ns2:op>
                                    <ns2:value>1.0</ns2:value>
                                </ns2:NumberRuleItem>
                            </ns2:items>
                        </ns2:groups>
                      </ns2:rule>

The documentation and the WSDL seems to be consistent here. Could you 
please confirm what error you were getting? If you are able to share the 
logs it will be helpful to troubleshoot. 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
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/3798105b-1b10-4b54-a557-d6dd0e16f413%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • AdWordsU... Edward Grave
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
      • ... Edward Grave
        • ... Edward Grave
          • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
            • ... Edward Grave

Reply via email to