Custom Parameters When Showing an Ad

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 DT FairBid SDK 3.11.0, the same SDK API has been added to the Interstitial ad format as a way to enrich User Level Reporting.

This is how you can use it:

Android iOS Unity
Java
public class ShowOptions {
    public void setCustomParameters(Map<string, string="String"> customParameters);
}</string,>
void show(@NonNull String placementId, final ShowOptions showOptions, final Activity activity);

Interstitial

Android iOS Unity
Java
Map<String, String> customParams = customParams();
ShowOptions showOptions = new ShowOptions();
showOptions.setCustomParameters(customParams);
Interstitial.show(placementId, showOptions, activity);

Rewarded

Android iOS Unity
Java
Map<String, String> customParams = customParams();
ShowOptions showOptions = new ShowOptions();
showOptions.setCustomParameters(customParams);
Rewarded.show(placementId, showOptions, activity);

Back to Top ⇧