Using attributes
On the Settings page of your Application, you can make one or more Application custom attributes available in all the campaigns of an Application, and also make one or more campaign and coupon custom attributes mandatory.
Adding custom attributes to an Application
Adding a custom attribute to an Application makes it available in all the campaigns of the Application.
For example, you can do this to make available across all campaigns a list of store IDs representing your business venues. You can then use it in your rules.
Before you start, create one or more custom attributes
with Application
as their associated entity, and make the attributes available in your Application.
You can then add attributes to your Application:
- On the left-side menu of your Application, click Settings > Custom Attributes.
- Click Add Custom Attribute to expand the dropdown with the available attributes.
- Select one or more attributes from the dropdown.
- Set values for the attributes that you selected by typing the values down.
- Click Save Changes.
Making attributes mandatory
You can make one or more campaign and coupon custom attributes mandatory for a given Application.
- Mandatory campaign attributes: You must define values for them for every campaign that you want to activate. It is necessary for the campaign to run and its rules to be evaluated.
- Mandatory coupon attributes: You must define values for them every time you want to create coupons in any campaign of the Application.
For example, you can use mandatory campaign attributes to prevent certain users from participating in a campaign. Mandatory coupon attributes are useful, for example, to build advance logic related to your coupons, or to define the value of the discount provided by a coupon when a support agent creates it manually.
Campaigns that are already running will not be automatically disabled if you add any mandatory campaign attributes.
Before you start, create one or more custom attributes
with Campaign
or Coupon
as their associated entities, and make the attributes available in
your Application.
You can then make attributes mandatory:
- On the left-side menu of your Application, click Settings > Mandatory Attributes.
- In Set Mandatory Campaign Attributes, select the attributes you want to make mandatory.
- In Set Mandatory Coupon Attributes, select the attributes you want to make mandatory.