Create and manage key value pairs (KVPs)

Create, register, and manage the keys used in your Strategy Rules configurations

Strategy Rules use keys to pass session data and shape the viewer experience. Create each key once, then reference it throughout your setup.

After a key is used in a configuration, it cannot be edited or deleted.

When configuring a Strategy Rule, all available keys appear in a grouped dropdown menu.

JWX supports two types of keys.

TypeDescription
CustomProperty-specific, customer keys whose values are defined at runtime

These keys can be edited and deleted until they are first used in a configuration. Custom keys do not hold default values in the JWX dashboard. Values are supplied at runtime via jwDataStore on the page where your player is embedded.

For more information, learn how to provide custom data to a placement.
JWX definedFuture releases may use read-only keys defined by JWX and JWX partners


Prerequisite

ItemDescription
User roleAdmin or Manager user role in the JWX dashboard


Create a custom key

Create custom key page

Create custom key panel

Follow these steps to create a custom key:

  1. On the Properties page, click the name of a property. The settings page for the property appears.
  2. Under Strategy rules, click Key value pairs (KVPs). The Key value pairs (KVPs) tab appears.
  3. Click Create custom key. The Create custom key panel opens.
  4. Define the key information.
Field Description
Key name (Required) Identifier that jwDataStore.custom references on your page.

IMPORTANT:

  • Key names must start with a lowercase letter.
  • Key names must contain only lowercase letters, numbers, and underscores.
  • Key names cannot be nested. For example, ads.preroll is not supported. Use ads_preroll instead.
Description A note about the key's purpose
  1. Click Save. The panel closes.

The key appears in the Custom keys list and can now be used in your property’s Strategy Rules configurations.

To use your key, see:



Edit a custom key

❗️

Once a key has been used in a configuration, it cannot be edited or deleted.

Follow these steps:

  1. On the Key value pairs (KVPs) page, in the Custom keys list, in the row of the key you want to edit, click ⋯ > Edit.
  2. Update the Key name or Description.
  3. Click Save.


Delete a custom key

❗️

Once a key has been used in a configuration, it cannot be edited or deleted.

Follow these steps:

  1. On the Key value pairs (KVPs) page, in the Custom keys list, in the row of the key you want to edit, click ⋯ > Delete.
  2. In the confirmation dialog, click Delete to confirm.
© 2007- Longtail Ad Solutions, Inc.