Skip to main content

Using attributes

In your Application Settings, 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:

  1. Click Settings > Custom Attributes in the left-side menu of your Application.
  2. Click Add Custom Attribute to expand the dropdown with the available attributes.
  3. Select one or more attributes from the dropdown.
  4. Set values for the attributes that you selected by typing the values down.
  5. Click Save Changes.

A notification pops up, indicating that the Application has been updated.

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.

note

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:

  1. Click Settings > Mandatory Attributes in the left-side menu of your Application.
  2. In Set Mandatory Campaign Attributes, select the attributes you want to make mandatory.
  3. In Set Mandatory Coupon Attributes, select the attributes you want to make mandatory.

A notification pops up, indicating that the Application has been updated.