Add a Cloud Marketing or Cloud Marketing Plus rule

Set up Cloudlets rules for Cloud Marketing or Cloud Marketing Plus. When an incoming request meets the match criteria in these rules, the Cloudlet inserts the MediaMath reference script into the payload.

How to

  1. Go to > CDN > Edge logic Cloudlets.
  2. On the Cloudlet Policies screen, click the name of the policy you want to add rules to.
  3. On the Policy Details screen, click the version you want to update or click Create New Version.
  4. On the Version Details screen, click Add Rule.
  5. Complete these fields on the Create a Rule screen:
    Field Action
    Rule Name Name this rule.
    Always On Select if the rule is always applied.
    Start Date/Time Enter the start date and time for the rule.
    End Date/Time Enter the end date and time for the rule.
    Match definition (IF section)
    Match Type Select the match type to use for this rule.

    Enter any operators or match criteria needed for the match type you choose.

    See Cloudlets Match Types for more information.

    Action (THEN section)
    Insert JavaScript Select this field to insert the MediaMath reference script into the payload when the incoming request matches the rule criteria. The reference script, sends data about an end user’s behavior to MediaMath and its partners.
  6. If you want to add another rule, click + in the match section.
  7. Click Save Rule. The new rule displays first on the Version Details screen.
    Important: Cloudlets Policy Manager evaluates rules from top to bottom with the first match winning.