Documentation
Feedback
Guides

Release Notes
Release Notes
2022
July
New option in Campaign Audience settings
It is now possible to use multiple target audiences in a [campaign audience](https://help.vtex.com/en/tutorial/campaign-audiences--3o7lhpNseXY2WmjZO0gQ6m) simultaneously, instead of applying either one target audience or another, when using the Promotions & Taxes API.

It is now possible to use multiple target audiences in a campaign audience simultaneously, instead of applying either one target audience or another, when using the Promotions & Taxes API.

Previously it was only possible to use the “or” operator in this scenario, which means a campaign audience would be composed of customers that fit any of the selected target audiences.

Now you can choose to use the “and” operator instead, if you wish to restrict the campaign audience to customers who fit both or more defined target audiences. Choosing “and” will combine the criteria set for more than one target audience.

To make this possible, we have added the following property to Campaign Audience endpoints:

FieldTypeDescriptionEndpoints
isAndOperatorbooleanWhen true, it determines that all the targetConfigurations need to be valid for the campaign audience to be active.\n\nWhen false, it determines that if at least one of the targetConfigurations is valid, the campaign audience will be active.

We have also updated the VTEX Admin Campaign Audiences interface to include this option. Read our Help Center announcement and our user documentation Creating a campaign audience to find out more.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page