public interface FeedAdListener
FeedAd.addListener(FeedAdListener). Read the documentation of this method for further
information.| Modifier and Type | Method and Description |
|---|---|
void |
onAdLoaded(java.lang.String placementId)
This method is called once a placement finished loading and is ready to be displayed.
|
void |
onError(java.lang.String placementId,
FeedAdError error)
This method is called when an error occurs during the request/playback of a placement's
ads.
|
void |
onOpened(java.lang.String placementId)
This method is called when an ad of a placement was clicked by the user.
|
void |
onPlacementComplete(java.lang.String placementId)
This method is called when a placement did play all of its tags.
|
void onAdLoaded(@NonNull
java.lang.String placementId)
placementId - the id of the placement that has been loadedvoid onPlacementComplete(@NonNull
java.lang.String placementId)
placementId - the id of the placement that completed ad playback.void onOpened(@NonNull
java.lang.String placementId)
placementId - the id of the placement the clicked ad belongs tovoid onError(@Nullable
java.lang.String placementId,
@NonNull
FeedAdError error)
placementId - the id of the placement which ads caused errorserror - the error that occurred.