Hi Jonathan,

One thought just occurred to me regarding question b):

b) If there's a way to create a list similar to 460819655 without using a 
*LogicalUserList* that combines other lists.

The rule you set up through the user interface was:

   - (URL contains 'abc' OR URL contains 'def') *AND*
   - (RefUrl contains 'ghi' or refUrl contains 'jkl')

This is logically equivalent to the following:

   - (URL contains 'abc' AND refUrl contains 'ghi') *OR*
   - (URL contains 'abc' AND refUrl contains 'jkl') *OR*
   - (URL contains 'def' AND refUrl contains 'ghi') *OR*
   - (URL contains 'def' AND refUrl contains 'jkl')

The second structure is achievable using ExpressionRuleUserList.rule 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdwordsUserListService.ExpressionRuleUserList#rule>.
 
Simply create each of the four items in the list as an entry in the rule's 
groups collection 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdwordsUserListService.Rule#groups>,
 
e.g., the ExpressionRuleUserList.rule 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdwordsUserListService.ExpressionRuleUserList#rule>
 would 
look like this:

groups = [
  RuleItemGroup { 
    items = [
      StringRuleItem { key = 'url__', op = 'CONTAINS', value = 'abc' },
      StringRuleItem { key = 'ref_url__', op = 'CONTAINS', value = 'ghi' },
    ]
  },
  RuleItemGroup { 
    items = [
      StringRuleItem { key = 'url__', op = 'CONTAINS', value = 'abc' },
      StringRuleItem { key = 'ref_url__', op = 'CONTAINS', value = 'jkl' },
    ]
  },
  RuleItemGroup { 
    items = [
      StringRuleItem { key = 'url__', op = 'CONTAINS', value = 'def' },
      StringRuleItem { key = 'ref_url__', op = 'CONTAINS', value = 'ghi' },
    ]
  },
  RuleItemGroup { 
    items = [
      StringRuleItem { key = 'url__', op = 'CONTAINS', value = 'def' },
      StringRuleItem { key = 'ref_url__', op = 'CONTAINS', value = 'jkl' },
    ]
  },
]

I realize this isn't particularly pretty, but it should work. Is that 
feasible for the rules you want to set up?

Thanks,
Josh, AdWords API Team

On Tuesday, March 7, 2017 at 8:02:41 AM UTC-5, Jonathan de Zoete wrote:
>
> Hi Josh,
>
> Thanks, I look forward to hearing from you!
>
>
> Op dinsdag 7 maart 2017 13:46:45 UTC+1 schreef Josh Radcliff (AdWords API 
> Team):
>>
>> Hi Jonathan,
>>
>> Thanks for sending over those examples. I'm following up with the 
>> remarketing team to find out:
>>
>> a) Why 460819655 does not come back as a *RuleBasedUserList* subtype.
>> b) If there's a way to create a list similar to 460819655 without using a 
>> *LogicalUserList* that combines other lists.
>> c) Why the *DateBasedUserList* 463709364 renders in an odd way in the 
>> user interface.
>>
>> I'll get back to you as soon as I have more information.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Monday, March 6, 2017 at 1:34:24 PM UTC-5, Jonathan de Zoete wrote:
>>>
>>> Hi Josh,
>>>
>>> Thanks for your reply.
>>> The User list ID of the user with the combination list is 460264999
>>> The User list ID of the user with the not-createable-rules is 460819655
>>>
>>> I also created date rule list: 463709364
>>> This date based rule userlist has a funky result in the UI:
>>>
>>> <https://lh3.googleusercontent.com/-lKAPlA_IVvc/WL2rJbl2VnI/AAAAAAAAH6g/XweSHcziF3oEUpA1FUpOaQ6zSOJEP35LwCLcB/s1600/list3.png>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> However, if I would be able to set these custom rules through the API, 
>>> that would also solve the problem.
>>>
>>> Thanks in advance!
>>> Jonathan
>>>
>>>
>>>
>>> Op maandag 6 maart 2017 13:51:41 UTC+1 schreef Josh Radcliff (AdWords 
>>> API Team):
>>>>
>>>> Hi Jonathan,
>>>>
>>>> You've raised an interesting point! Would you mind sharing the user 
>>>> list ID 
>>>> <https://developers.google.com/adwords/api/docs/reference/v201702/AdwordsUserListService.UserList#id>
>>>>  
>>>> of the user list you created through the user interface so I can look it 
>>>> up?
>>>>
>>>> Thanks,
>>>> Josh, AdWords API Team
>>>>
>>>> On Sunday, March 5, 2017 at 9:11:09 PM UTC-5, Jonathan de Zoete wrote:
>>>>>
>>>>> Hello all,
>>>>>
>>>>>  
>>>>>
>>>>> In the Adwords backend you can set up a remarketing list with advanced 
>>>>> options like so:
>>>>>
>>>>>
>>>>> <https://lh3.googleusercontent.com/-2OxqN98k-_k/WLvzBC1GvTI/AAAAAAAAH58/8jzSAO238wEr1iMVfhcmq8FKdDna1CMvACLcB/s1600/list.png>
>>>>>  
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> However, I can't find how to set this up in the Adwords Api. 
>>>>>
>>>>> All i can do is the 'non-advanced' options.
>>>>>
>>>>>  
>>>>>
>>>>> I created a list with advanced rule options, and retrieved it through 
>>>>> the API, and it was not an ExpressionRuleUserlist but a normal UserList, 
>>>>> without any rules.
>>>>>
>>>>> Is it possible to create an advanced list through the API?
>>>>> The thing is, a normal expression list lets you OR on the first level, 
>>>>> and AND on the second level, but advanced rules let you AND first, and OR 
>>>>> secondly, which is completely different, and a necessary feature for me.
>>>>>
>>>>>
>>>>> Right now i only see the option to create a logicaluserlist and 
>>>>> AND-include lists with OR conditions. But this is not the same and looks 
>>>>> not very nice in the UI:
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>
>>>>> <https://lh3.googleusercontent.com/-brxhxjs1Eus/WLvzJ0AF4EI/AAAAAAAAH6A/ZgGeJxAAziwX08QRjRc7wzIOKvpaM92uwCLcB/s1600/list2.png>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Thanks in advance! 
>>>>> Jonathan
>>>>>
>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c1d5b0ad-9fd3-4efc-9eda-9292df133697%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Advanced remarket... Jonathan de Zoete
    • Re: Advanced... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
      • Re: Adva... Jonathan de Zoete
        • Re: ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
          • ... Jonathan de Zoete
            • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
              • ... Jonathan de Zoete
                • ... Jonathan de Zoete
                • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
                • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
                • ... Jonathan de Zoete
                • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum

Reply via email to