About outputting unique codes

The custom code generator must output unique codes, of no more than 32 characters, to the standard output stream (stdout).

Important: When Unica Campaign saves offer and cell codes, it does not check their uniqueness. You must ensure that any custom code generators you use can generate globally unique codes (assuming no users override generated codes).

The output line must:

  • Start with 1,
  • Followed by one or more blank spaces,
  • Followed by the unique code, within double quotation marks.

Example

The following example shows the correct code output format:

1 "unique_code"