You are here:
Create a Mobile Data Campaign
Create Mobile Data campaigns so your iOS and Android apps can process Personalization campaign data. Personalization triggers campaigns and delivers the data to your app.
Required Editions
| Available in: Premium Edition |
| Permissions Needed | |
|---|---|
| To create or edit Mobile Data campaigns: | A role with Campaign Create/Edit permissions |
| To publish or delete Mobile Data campaigns: | A role with Campaign Publish/Delete permissions |
- In the Channels & Campaigns section of the main navigation, select Mobile | Mobile Data Campaigns.
- Click NEW CAMPAIGN.
- In the Target field, enter the app content zone that matches the app code. For more information, see the developer documentation for iOS and Android Mobile Data Campaigns.
- To define the data payload, click Add New to insert a new data item.
- Enter a static string identifier for the Name of the data item.
-
Select the Type of data that you want to assign to the data
item.
Type Description Text The value is a JSON string. Number The value is a JSON number. Promoted Content The value is defined by the promoted content in Message Rules. For more information, see the developer documentation for Add Mobile Message Targeting Rules. -
Enter a static or dynamic Value for the data item for Type
you selected. To insert dynamic content queries, select the
Value entry, click the Dynamic+
dropdown, and select the dynamic value. Text and Number data items can send dynamic
values, such as username, email address, or custom user attributes.
Text and Number types can use Dynamic Message Content (DMC) and Advanced Dynamic Message Content (ADMC) syntax. For information about ADMC, see Salesforce Developer Documentation: ADMC Reference
Note If Personalization can’t populate the dynamic value, the experience can’t trigger, and, in some cases, the campaign can’t display. You can use the #field syntax to provide a fallback value. See Add a Fallback Value for Dynamic Content. - Repeat adding new data items until you define all items in the payload.
-
To configure promoted content, set the Type to
Promoted Content. Then set the Value
to one of the following:
Option Description $items Returns all applicable items as a JSON array. $item Returns one applicable item as a JSON object. - Configure Promoted Content in Message Rules.
-
If you include more than one campaign experience, select one of these
options:
Option Description Copy To All Copies a data item value across all campaign experiences. Delete Removes a data item from all campaign experiences. - Incorporate targeting rules. For more information, see Add Mobile Message Targeting Rules and Add Mobile Campaign Targeting Rules.
Did this article solve your issue?
Let us know so we can improve!

