Custom Parameters When Showing an Ad

Introduction

If you are using Server Side Rewarding you might already be familiar with custom parameters you can associate with a given Rewarded ad completion.

Starting from FairBid SDK 3.11.0 the same SDK API has been added to the Interstitial ad format as a way to enrich the User Level Reporting.

This is how you can use it:

@interface FYBShowOptions : NSObject
@property (nonatomic, copy, nullable) NSDictionary *customParameters;
@end

Interstitial

let showOptions = FYBShowOptions() 
showOptions.customParameters = ["myCustomKey": "myCustomValue", "anotherCustomKey": 
"anotherCustomValue"] FYBInterstitial.show("placementID", options: showOptions)

Rewarded

let showOptions = FYBShowOptions() 
showOptions.customParameters = ["myCustomKey": "myCustomValue", "anotherCustomKey": 
"anotherCustomValue"] FYBRewarded.show("placementID", options: showOptions)

Back to Top ⇧