Documentation
Feedback
Guides

Release Notes
Release Notes
Added
New option in Campaign Audience settings
July, 22

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.

Was this helpful?
Yes
No
On this page