Mandatory Attributes Overview
If your application relies on a few attributes that always need a specific value set in each of your campaigns, you can set these attributes to be 'mandatory'.
Making campaign attributes mandatory means they must have a set value before the campaign is allowed to go live and have its rules evaluated.
Coupon attributes can also be set as mandatory, meaning a value must be set for those attributes each time a coupon batch is created.
Making Attributes Mandatory
To set an attribute as mandatory, open your application and navigate to the Settings page.
On the Settings page, select Campaign Configuration.
Each campaign or coupon attribute in your database will be listed here, defaulting to the OFF position.
Click on the switch for each attribute you wish to make mandatory.
Once you have at least one mandatory attribute, any campaigns for that application which are not yet running will need to have a value set before they can run.
*Note: Already-running campaigns will not be disabled if you add new mandatory attributes.
Setting Values for Mandatory Attribute
If one or more mandatory attributes are missing values, a message will appear on the Campaign Dashboard with a link to the Campaign Settings page, where you can add the missing values.
To set a Mandatory Attribute Value for a campaign, go to the Settings section for that campaign.
From here select Custom Attributes.
Under Mandatory Attributes, set a value for each appearing there.
As long as these Mandatory Attributes have a value and your campaign has rules, it can now be enabled to run live.
Creating Coupons with Mandatory Attributes
If one or more Coupon Attributes are set to Mandatory, a value must be filled out for this attribute every time you create a new batch of coupons.
This prevents any coupons from being created until the necessary value is attached.