Promo Campaigns

Learn how to display personalized promo offers to your customers using Adapty iOS SDK

Promo Campaigns help you to increase revenue with targeted offers for your customers. You can use them to upsell, convert freemium users to paid ones, and win back churned subscribers.


Make sure to upload the push certificate for iOS in Adapty Dashboard, without them, we can't send push notifications.

To get an available promo offer for the user, call .getPromo() method:

Adapty.getPromo { (promo, error) in
    if (error == nil && promo != nil) {
        // handle available promo

Response parameters:

  • Promo: a PromoModel object. This model contains info about the available promo offer. It can be null when there's no offer available (which is fine).

Listening for promo updates

Whenever the user's promo offer changes, Adapty will fire an event. To receive promo offers updates, extend AdaptyDelegate using didReceivePromo method:

extension AppDelegate: AdaptyDelegate {
    func didReceivePromo(_ promo: PromoModel) {
        // handle available promo

Handling push notifications

You have to pass push notifications to Adapty SDK, so it can handle promo notifications and respond accordingly. Here's an example of doing this:

func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
    Adapty.handlePushNotification(userInfo) { (_) in

Did this page help you?