Multiple strings to match Query string parameter in Marketing Processing Rules | Community
Skip to main content
JyotiSharmaV
Community Advisor
Community Advisor
October 11, 2022
Solved

Multiple strings to match Query string parameter in Marketing Processing Rules

  • October 11, 2022
  • 1 reply
  • 5116 views

 

Hi, I am fixing my marketing channel processing rules. Can I use multiple values like below screen shot or do I have to add separate rules for each of the strings to match? 

 

 

Thanks

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

@jennifer_dungan Makes sense to me. But If I try to put different values in a list format in a rule then its by default is "ALL" operator instead "Any" and for one rule it doesn't allow you to choose "Any"...

 

In my previous response where I shared a screenshot for paid social, you saw a list of values with "Any" operator. It came for me when I clicked ADD New rule and removed it. That way I selected "Any"

 

So I want to confirm from this ASK is if I put values as list in rule and keep "ALL" then my condition will work or not? 


The "All" and "Any" in that initial drop down reflects the rules/boxes/blocks in the rule set (the ones that you can remove with the x, or add with "Add rule"):

 

 

 

In this case, in order to be identified as "Paid Search" the channel must BOTH match the "paid search detection rules" AND the "cid" must start with "pad" or "med".

 

If you change it to "ANY" at this point, then it need to match either (or both, its not an exclusive or) "Paid Search Detection" OR "cid starts with one of the listed items"

 

This list block is always going to be an "OR" list, no matter what is selected in the All/Any dropdown:

 

 

I don't know why you are saying this can only be an "ALL" rules... you should see "ANY" in the dropdown, if you have more than 1 rule in your rule set.....

 

Unless you removed the "matches paid search detection rules" like so:

 

 

But still, the ANY/ALL refers to the blocks, not to the list items... the list would be useless in 99% of cases if it was processed as an "AND"... IF you need something to "contain X and Y" then you would make sure you have "ALL" selected, and create 2 rules:

cid contains "X"
cid contains "Y"

cause you need BOTH to be true... and they are not mutually exclusive.

1 reply

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
October 12, 2022

That should work.. the rule specifies "Any Of" which means it should look for cid to start with any of the listed options.

 

Are you getting strange results? Or is this just very new and you are just looking for a second opinion before it runs for a while?

 

For what it's worth, this looks absolutely correct to me.

JyotiSharmaV
Community Advisor
Community Advisor
October 12, 2022

Hey @jennifer_dungan  its all new cid codes for social paid that we are going to opt so looking to add it in marketing channels processing rules so that they can be bucketed in correct dimension item of Marketing channels ie. social paid. From that perspective does it looks correct? I am just confused between "All" or "Any" in rule

 

Because for social organic we use "All" for a list and this is advised 

 

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
October 12, 2022

Well since you were asking if you could add multiple items, assuming the starts with values are correct for your campaign codes, the implementation of:

 

value 1

OR

value 2

OR 

value 3

 

(in your screenshot)

 

Looks completely valid... since all of those are being mapped to "Social Networks (Paid)" (assuming that is what you want) looks correct to me... You should not need to do a rule for each item... that seems like creating separate rules is more trouble than it's worth 🙂