Add representations to an offer add-representations
An offer can be displayed at different places in a message: in a top banner with an image, as text in a paragraph, as an HTML block, etc. The more representations an offer has, the more opportunities exist to use the offer in different placement contexts.
Configure the offer’s representations representations
To add one or multiple representations to your offer and configure them, follow the steps below.
-
For the first representation, start by selecting the Channel that will be used.
note note NOTE Only the available placements for the selected channel display in the Placement drop-down list. -
Select a placement from the list.
You can also use the button next to the Placement drop-down list to browse all the placements.
There you can still filter the placements according to their channel and/or content type. Choose a placement and click Select.
-
Add content to your representation. Learn how in this section.
-
When you add content such as an image or URL, you can specify a Destination link: the users who click the offer will be directed to the corresponding page.
-
Finally, select the language of your choice to help identify and manage what to display to the users.
-
To add another representation, use the Add representation button and add as many representations as needed.
-
Once you added all your representations, select Next.
Define content for your representations content
You can add different types of content to a representation.
Add images images
If the selected placement is image-type, you can add content coming from the Adobe Experience Cloud Asset library, a centralized repository of assets provided by Adobe Experience Manager Assets.
-
Choose the Asset library option.
-
Select Browse.
-
Browse the assets to select the image of your choice
-
Click Select.
Add HTML or JSON files html-json
If the selected placement is HTML-type, you can also add HTML or JSON content coming from the Adobe Experience Cloud Asset library).
For example, you created an HTML email template in Adobe Experience Manager and you want to use that file for your offer content. Instead of creating a new file, you can simply upload the template into the Asset Library to be able to reuse it in your offer’s representations.
To reuse your content in a representation, browse the Asset Library as described in this section and select the HTML or JSON file of your choice.
Add URLs urls
To add content from an external public location, select URL, then enter the URL address of the content to add.
You can personalize URLs using the personalization editor. Learn more on personalization.
For example, you want to personalize the image that is shown as an offer. You want users who favor city vacations to see the NYC skyline and users who favor beach vacations to see the Hawaii northshore.
Use the personalization editor to retrieve Profile attributes stored in the Adobe Experience Platform using union schemas. Learn more
If you specify a Destination link, you can also personalize the URL to which the users who click the offer will be directed.
Add custom text custom-text
You can also insert text-type content when selecting a compatible placement.
-
Select the Custom option and click Add content.
note note NOTE This option is not available for image-type placements. -
Type the text that will display in the offer.
You can personalize your content using the personalization editor. Learn more on personalization.
note note NOTE Only the Profile attributes, Audiences and Helper functions sources are available for Decision Management.
Personalize representations based on context data context-data
When context data is passed in the Edge decisioning call, you can leverage these data to personalize representations dynamically. For instance, you can tailor the representation of an offer based on real-time factors such as current weather conditions at the moment the decision is made.
To do this, incorporate the context data variable directly within the representation content by using the profile.timeSeriesEvents.
namespace.
Here is a syntax example used to personalize an offer’s representation based on users’ operating systems:
{%#if profile.timeSeriesEvents.device.model = "Apple"%}ios{%else%}android{%/if%}
The corresponding Edge decisioning request including the context data is as follows:
{
"body": {
"xdm": {
"identityMap": {
"Email": [
{
"id": "xyz@abc.com"
}
]
},
"device": {
"model": "Apple"
}
},
"extra": {
"query": {
"decisionScopes": [
"eyJ4ZG06..."
]
}
}
}
}