로딩중입니다
Promotion(In-house) Integration : iOS
6/27/2016 7:24:07 PM

Promotion(In-house)

Promotion Service is a service to display a company's A app ads on its B app.

By using this Promotion Service, you can attract and acquire users from an app to another.

It only supports in-house ads, and for more information, please go to the following link.

[Promotion Service Guide]


Notice
  1. IGAW General Integration must be set in order to integrate promotion add-on[IGAW General Integration : iOS]
  2. In order to integrate promotion service, IgaworksCore~*.framework, Adbrix.framework file must be included in Xcode project. 
  3. AdBrix.bundle must be included in Xcode project for the promotion UI design.

+ Use Adbrix.framework for the Promotion service integration.
+ If the installation was made by CocoaPods, processes of notice number 2 and 3 will not be needed.
+ Check the following article for more information on adding and editing bundle resource. [SDK Installation : iOS]



Promotion API

To use the Promotion Service, import and use IgaworksCore.hAdBrix.h file.

Input User ID

User ID is a set of information to identify users who have completed the campaign and are eligible for a reward.

User ID must be set as the followings.


    Notice

  1. One user should only have one unique value, not variable.
  2. Must not contain any personal information(email, name, phone number, username).
  3. Must go through URL encoding if contains Korean, special character, or blank space.
  4. Must be set before showAD API is called.
[IgaworksCore setUserId:@"user10001"];


Promotion Ad Display

Call showAD: parentViewController: API to display ads. See below for an example on using the parameter.

  • ad_space_key : Adspace key created in the promotion admin page
  • parentViewController : ViewController where the promotion ad window will be displayed
- (void)ShowCrossPromotionEventToUser {
    // (void)showAD:(NSString *)adspace_key parentViewController:(UIViewController *)parentViewController;
    [CrossPromotion showAD:@"intro" parentViewController:self];
}

+  Check the following link for more information on generating the adspace key.

[Adspace Key Geneartion]


If the integration is done properly, below view will be shown on the screen.



IGAW Reward Server Integration

Note that IGAW reward server integration must be established to provide rewards to users who participated in the promotion.

In our Promotion Service, the reward server integration method is supported through our internal server.

Check the following link for more information on IGAW Reward Server integration.

[IGAW Reward Server Integration Guide]