public class POBAdsHelper
extends java.lang.Object
| Constructor and Description |
|---|
POBAdsHelper() |
| Modifier and Type | Method and Description |
|---|---|
static POBImpression |
getImpression(POBRequest request)
Returns an instance of impression object created internally.
|
static boolean |
validate(android.content.Context context,
java.lang.String publisherId,
java.lang.String adUnitId,
java.lang.Object listener)
Validates the argument to make sure proper initialization of this object.
|
@Nullable public static POBImpression getImpression(@Nullable POBRequest request)
public static boolean validate(@Nullable
android.content.Context context,
@Nullable
java.lang.String publisherId,
@Nullable
java.lang.String adUnitId,
@Nullable
java.lang.Object listener)
context - the context required to load adpublisherId - ID of publisher in PubMatic systemadUnitId - Ad-unit ID (Slot name) in PubMatic systemlistener - Valid instance of POBBaseEvent