Contact Model Functions

Overview Marketing Cloud includes a contact model for organizing and creating data relationships for Contacts. This model is administered in Contact Builder, which provides a single view of all Contacts. Contact Model functions enable interaction with Contact...

EndImpressionRegion

EndImpressionRegion This function marks the end of a previously defined Impression Region set with the BeginImpressionRegion function. It has no output. Argument EndImpressionRegion(1) Ordinal Type Required Description 1 Boolean False Scope of regions closed by the...

Field

Field This function returns the value of a field from a row set or the value of an application programming interface (API) object property. Arguments Field(1,2,3) Ordinal Type Required Description 1 String True Row set or API object from which to return the value or...

UpsertContact

UpsertContact This function ‘upserts’ a Contact in Marketing Cloud. If the Contact does not already exist, then a new record is created. If the Contact exists, then the record is updated. The function will output 1 if an error occurred when upserting the...

GetPortfolioItem

GetPortfolioItem This function returns Portfolio item content for the specified Customer/External Key. Argument GetPortfolioItem(1) Ordinal Type Required Description 1 String True Customer/External Key of the Portfolio item to return NOTE: Keys for the Portfolio item...

Content Functions

Overview The Content AMPscript functions provide a means to interact, reference and output content in a Marketing Cloud account. These elements include Content Areas, Content Builder content blocks, objects in your Portfolio, files from internal or external file...