[Limited Availability]{class="badge informative"}

Revised push notification configuration push-notifications-config

Campaign v8.5 is introducing our latest Push notification service, powered by a robust framework built on a modern cutting-edge technology. This service is designed to unlock new levels of scalability, ensuring that your notifications can reach a larger audience with seamless efficiency. With our enhanced infrastructure and optimized processes, you can expect higher scale and reliability, empowering you to engage and connect with your Mobile App users like never before.

AVAILABILITY
This feature is exclusively accessible to new customers starting from Campaign v8.5 and progressively rolled out to a set of selected customers. If your environment was provisioned prior to June 2023, this page does not apply to you, and you must follow the procedures detailed in this page.

In the context of this updated implementation, to send push notifications in Adobe Campaign, follow these steps:

NOTE
Legacy FCM and APNS p12 are not supported with Data Collection.

Create an App surface in Adobe Experience Platform Data Collection create-app-surface

You need to add your mobile application push credentials in Adobe Experience Platform Data Collection.

The mobile app push credential registration is required to authorize Adobe to send push notifications on your behalf. Refer to the steps detailed below:

  1. From Adobe Experience Platform Data Collection, select the App Surfaces tab in the left-hand panel.

  2. Click Create App Surface to create a new configuration.

    App Surfaces list in Data Collection with the Create App Surface button highlighted

  3. Enter a Name for the configuration.

  4. From Mobile Application Configuration, select the operating system:

iOS

Create App Surface for Apple iOS: App ID, Push Credentials switch and p8 key file drop zone

  1. Enter the mobile app Bundle Id in the App ID (iOS Bundle ID) field.

    The app Bundle ID can be found in the General tab of the primary target in XCode of your Apple developer account.

  2. Switch on Push Credentials to add your credentials.

  3. Drag and drop your .p8 Apple Push Notification Authentication Key file.

    This key can be acquired from the Certificates, Identifiers and Profiles page of your Apple developer account.

  4. Provide the Key ID. This is a 10 character string assigned during the creation of the p8 auth key.

    It can be found under Keys tab in Certificates, Identifiers and Profiles page of your Apple developer account.

  5. Provide the Team ID. This is a string value which can be found under the Membership tab.

  6. Click Save to create your app configuration.

Android

Create App Surface for Android: App ID (Android package name), Push Credentials switch and JSON key drop zone

  1. Provide the App ID (Android package name). Usually the package name is the app id in your build.gradle file.

  2. Switch on Push Credentials to add your credentials.

  3. Drag and drop the FCM push credentials. For more details on how to get the push credentials refer to Google Documentation.

  4. Click Save to create your app configuration.

Configure your application settings in Adobe Campaign push-config-campaign

Create a service create-service

Before sending push notifications, you must define your iOS and Android app settings in Adobe Campaign.

Push notifications are sent to your app users through a dedicated service. When users install your app, they subscribe to this service: Adobe Campaign relies on this service to target only the subscribers of your app. In this service, you need to add your iOS and Android apps to send on iOS and Android devices.

To create a service to send push notifications, follow the steps below:

  1. Browse to Profiles and Targets > Services and Subscriptions tab, and click Create.

    New service dialog with Label, Internal name, Mobile application type and Subscriber applications target mapping {width="800"}

  2. Enter a Label and an Internal name, and select a Mobile application type.

    note
    NOTE
    The default Subscriber applications (nms:appSubscriptionRcp) target mapping is linked to the recipients table. If you want to use a different target mapping, you need to create a new target mapping and enter it in the Target mapping field of the service. Learn more about target mappings in Work with target mappings.
  3. Then use the Add icon on the right to define the mobile applications that use this service.

    Service dialog with the Add icon highlighted to define the mobile applications that use the service

Create a mobile application create-sapp

After creating your service, you now need to define the mobile applications that will use this service.

iOS

To create an app for iOS devices, follow these steps:

  1. From your Service, click Add then select Create an iOS application. Click Next.

    Mobile application creation wizard with Create an iOS application selected

  2. From the Launch app configurations list window, select the App surface previously created in this section. Click Next.

    Launch App Configurations List listing the Demo app App Surface to select

  3. (optional) You can enrich a push message content with some Application variables. These are fully customizable and a part of the message payload sent to the mobile device.

    In the example below, the mediaURl and mediaExt variables are added to create rich push notifications and then provide the application with the image to display within the notification.

    General parameters with the mediaURL and mediaExt application variables added

  4. Browse to the Subscription parameters tab to define the mapping with an extension of the Subscriber applications (nms:appsubscriptionRcp) schema.

  5. Browse to the Sounds tab to define a sound to play. Click Add and fill in the Internal name field which must contain the name of the file embedded in the application or the name of the system sound.

  6. Click Next to start configuring the development application.

  7. The Integration key is specific to each application. It links the mobile application to Adobe Campaign and will be used when configuring Campaign extension.

    Make sure that the same Integration key is defined in Adobe Campaign and in the application code via the SDK.

    Learn more in the Developer documentation

    note
    NOTE
    The Integration key is fully customizable with string value but needs to be exactly the same as the one specified in the SDK.
    You cannot use the same certificate for the development version (sandbox) and the production version of the application.

    Development application step with the Integration key and Application icon fields for iOS

  8. Select the icon from the Application icon field to personalize the mobile application in your service.

  9. Click Next to start configuring the production application and follow the same steps as detailed above. Note that you cannot use the same Integration key for the development version (sandbox) and the production version of the application.

  10. Click Finish.

Your iOS application is now ready to be used in Campaign.

Android

To create an app for Android devices, follow these steps:

  1. From your Service, click Add then select Create an Android application. Click Next.

    Mobile application creation wizard with Create an Android application selected

  2. From the Launch app configurations list window, select the App surface created in this section and click Next.

    Launch App Configurations List listing the Demo app App Surface for the Android application

  3. The integration key is specific to each application. It links the mobile application to Adobe Campaign and will be used when configuring Campaign extension.

    Make sure that the same Integration key is defined in Adobe Campaign and in the application code via the SDK.

    Learn more in the Developer documentation

    note
    NOTE
    The Integration key is fully customizable with string value but needs to be exactly the same as the one specified in the SDK.

    General parameters for Android with the Integration key, Application icon and Application variables

  4. Select the icon from the Application icon field to personalize mobile application in your service.

  5. (optional) You can enrich a push message content with some Application variables if needed. These are fully customizable and a part of the message payload sent to the mobile device.

  6. Browse to the Subscription parameters tab to define the mapping with an extension of the Subscriber applications (nms:appsubscriptionRcp) schema.

  7. Click Finish then Save.

Your Android application is now ready to be used in Campaign.

Below are the FCM payload names to further personalize your push notification:

Message type
Configurable message element (FCM payload name)
Configurable options (FCM payload name)
data message
N/A
validate_only
notification message
title, body, android_channel_id, icon, sound, tag, color, click_action, image, ticker, sticky, visibility, notification_priority, notification_count
validate_only

Configure a mobile property in Adobe Experience Platform Data Collection create-mobile-property

  1. From Data Collection homepage, access the Tags menu.

  2. Click New Property.

    Tag Properties list in Data Collection with the New Property button highlighted

  3. Type a name for the property and select Mobile as the platform.

    Create Property form with a name entered and the Mobile platform selected

  4. Click Save to create the mobile property.

  5. Access your newly created mobile property.

  6. From your mobile property dashboard, access the Extensions menu then the Catalog tab.

    Mobile property Extensions page with the Catalog tab highlighted

  7. Install the Adobe Campaign Classic extension. Learn more on Campaign extension

    Extensions catalog with the Install button highlighted on the Adobe Campaign Classic extension

  8. Fill in your instance details:

    • Registration endpoint or Tracking endpoint URLs can be found in the Tools > Advanced > Deployment wizard menu in Campaign.
    • Integration keys can be found in the mobile app configured in this section.

    Install Extension page with registration and tracking endpoints and iOS and Android integration keys

  9. Click Save.

  10. You now need to publish the configuration from the Publishing flow menu. Learn more

Your mobile property will now be automatically synced with the Adobe Experience Platform Data Collection technical workflow. Learn more

Add Campaign Classic to your mobile application campaign-mobile-app

The Adobe Experience Platform Mobile SDK helps power Adobe CX Enterprise solutions and services in your mobile apps. SDKs configuration is managed through the Data Collection UI for flexible configuration and extensible, rules-based integrations.

Learn more in Adobe Developer documentation.

Create your push notification push-create

Once you have successfully configured your mobile application in Data Collection, you can now create and send push notifications in Adobe Campaign.

Refer to Create your first push notification for the detailed elements specific to the delivery of iOS and Android notifications.

recommendation-more-help
campaign-help-v8