Syntax

Syntax Personalization strings are enclosed within double percentage delimiters; for example, %%string%%. However, these delimiters should not be included when used in an AMPscript function (refer to Attributes). The containing string is case-insensitive. NOTE: If the...

InvokeCreate

InvokeCreate This function executes the creation of the instantiated Marketing Cloud API Object. The function returns a status code, message and an error code. API error codes are outlined in the official documentation. Arguments InvokeCreate(1,2,3,4) Ordinal Type...

Constants

Constants In programming, a constant is a value that never changes. In AMPscript, these predefined or hard-coded values are used to set a fixed value for evaluation or lookup. They can be a constant, numeric, string or a Boolean value.

Attribute Strings

Attribute Strings Attribute data strings are used to personalize content based on the context of the Contact or Subscriber to which they are sent. These values are derived from a field or attribute related to the Contact or Subscriber. These can include the following...

InvokeDelete

InvokeDelete This function executes the deletion of the instantiated Marketing Cloud API Object. In order to delete an object, you must specify a ID, ObjectID or CustomerKey property for the object. API error codes are outlined in the official documentation. Arguments...

Numeric Constants

Numeric Constants Numeric constants consist of an unquoted set of numerals. They can also include one decimal point and can be prefixed with a minus symbol to indicate negative values. Numeric constants cannot contain commas, as indicated below: %%[ var...