Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Version

2.119 and up

Support AdServers

N/A

Table of Contents

Custom Fields as Matching Criteria: Matching Criterion

...

For additional flexibility within the Price Rules/Dynamic Pricing, you can configure your own custom fields as matching criteria for your price rules. Any number of custom fields or fields from the ADvendio Package can be configured as additional matching criteria.

...

  • Feature Setting Name: Matching Criterion

  • Feature Name: Dynamic Pricing

  • Value: Is for you to configure. Please use the following syntax and don't forget the squared brackets to close in the whole string, and curly brackets for each value, and separate everything with a comma.

    Code Block
    [{"operator":"==","field":"API Name of Field from Campaign Item (or related object)","conditionField":"API Name of the Field from Price Rule"}]

...

Info
  • Please make sure that you use no whitespace or line break in the setting

  • You can use any field from an object related to Campaign Item, to do the objects need to be connected via Lookup / Master-Detail Field and you need to enter the entire field path.

  • Any of the following operators can be used: ==, !=, <, >, <=, >= Attention: not all operators can be used for all field combinations, example < will not work when comparing Picklist Fields or Checkboxes

  • To reduce errors, make sure the fields you compare are of the same type, and picklists have the same picklist values

Price Rule Custom Matching with Multi-Select Picklists

The new “in“ operator was added to support a price rule matching between multi-picklist fields.

Info

To ensure accurate matching, please use the 'in' operator for multi-picklist instead of '==' in feature setting.

When you add the “in” operator then the price rule will now be applied only if all of the values selected on the price rule multi-picklist are also selected on the campaign item multi-picklist. The rule will also be applied if the campaign item multi-picklist has additional values selected, just like in the example below:

Example with a multi-picklist field for Targeting surcharges:

  • Geo

  • Inventory

  • Device

Previously, the system only considered exact matches when applying a price rule to a campaign item. Now a match occurs when all values from the Price Rule are selected on the Campaign Item's multi-picklist. This means that additional selections can now be made based on the provided table below:

Price Rule value

Campaign Item value

Expected behaviour

Geo

Geo

Matching

Geo

Geo, Inventory

Matching

Geo, Inventory

Geo

Not Matching

Device, Inventory

Inventory

Not Matching