AppsFlyerCrossPromotionHelper
Overview
AppsFlyer allows you to log and attribute installs originating from cross-promotion campaigns of your own apps. This enables marketers to optimize cross-promotion campaigns for better results.
Go back to the SDK reference index.
Interface declaration
@interface AppsFlyerCrossPromotionHelper
To access AppsFlyerCrossPromotionHelper
, import AppsFlyerLib
.
Methods
logCrossPromoteImpression
Method signature
(void)logCrossPromoteImpression:(id)appID
campaign:(id)campaign
parameters:(id)parameters;
Description
logs an impression as part of a cross-promotion campaign. Make sure to use the promoted App ID as it appears within the AppsFlyer dashboard.
Input arguments
Type | Name | Description |
---|---|---|
NSString | appID | Promoted App ID |
NSString | campaign | Name of cross-promotion campaign |
NSDictionary | parameters | Additional parameters to log |
Returns
void
.
logAndOpenStore
Method signature
(void)logAndOpenStore:(id)appID
campaign:(id)campaign
parameters:(id)parameters
openStore:(void (^)(int *, int *))openStoreBlock;
Description
You can utilize the StoreKit component to open the App Store while remaining in the context of your app. Learn more in attributing cross-promotion impressions.
Input arguments
Type | Name | Description |
---|---|---|
NSString | appID | Promoted App ID. |
NSString | campaign | Name of cross-promotion campaign. |
NSDictionary | parameters | Additional parameters to log. |
void (^)(int *, int *) | openStoreBlock | Contains promoted clickURL. |
Returns
void
.
Updated 12 months ago