PLEASE NOTE: This feature is only available to Premium Publishers. To learn more about how to upgrade your AerServ account to premium, please contact your account manager.
Step 1: Add an Ad Source
- Click on Ad Sources Tab on the top menu on the AerServ Dashboard
- Click on the '+ New Ad Source' Button
Step 2: Add Keyword Tags
- Click on the Keyword Tags tab in the Ad source menu tab
- Click on Add Tab
- Enter in your Custom Tag (Examples: NFL, Men, Women)
- Click on Add Tag
Step 3: Filter Keyword by Ad source
- Select they Keywords you have created in the previous step
- Drag it to the Ad source you want to filter that keyword
- Select Include or Exclude on you selected ad source
- Click Save
Step 4A: Using Keyword tagging method in iOS SDK
- Go to your viewcontroller.m file
- Add the Keyword Tag code before call loadAd
The Keyword call method is located in ASInterstitilaViewController.h file
/ An optional set of keywords that should be passe to the ad server to receive more relevant advertising./
@property (nonatomic, strong) NSArray* keyWords;
IOS Test app example code:
NSMutableArray *keyWords = [[NSMutableArray alloc] init];
[keyWords addObject:@"keyword"];
[keyWords addObject:@"keyword"];
self.adView.keyWords = [keyWords copy];
Notes: Keyword are case sensitive
Step 4B: Using Keyword Tagging Method in Android SDK
- Go to MainAcitivity file
- Add in Keyword tagging code below the ad listener code
- Enter your Keywords
You can located the keyword call method in the ASAdView.class or ASInterstitial.class files
setKeyWords(java.util.ArrayList<java.lang.String> arrayList) { /* compiled code */ }
Android SDK Keyword Tag code:
ArrayList<String> keywords = new ArrayList<String>();
keywords.add("nfl");
keywords.add("men");
adView.setKeyWords(keywords);
adView.loadAd(this, getPlc());
Note: Keyword are case sensitive
Step 5: Validating Keyword Targeting
If keyword tagging is added in the sdk, during the ad request it will pass in the parameter to the ad server.
The UI will recognize the ad request to include or exlcude the keyword in the ad source you have selected.
Comments