Package com.my.target.common
Class BaseAd
java.lang.Object
com.my.target.common.BaseAd
- Direct Known Subclasses:
BaseInterstitialAd,InstreamAd,InstreamAudioAd,InstreamResearch,NativeAd,NativeAdLoader,NativeAppwallAd,NativeBannerAd,NativeBannerAdLoader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AdConfigprotected final MetricMessage.Factory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEach Ad object contains custom params.protected booleanvoidsetAdNetworkConfig(String networkName, AdNetworkConfig adNetworkConfig) Additional parameters for mediation
-
Field Details
-
adConfig
@NonNull protected final AdConfig adConfig -
metricFactory
@NonNull protected final MetricMessage.Factory metricFactory
-
-
Constructor Details
-
BaseAd
-
-
Method Details
-
getCustomParams
Each Ad object contains custom params. Information from CustomParams will be added to the Ad request- Returns:
- customParams object
- See Also:
-
setAdNetworkConfig
public void setAdNetworkConfig(@NonNull String networkName, @NonNull AdNetworkConfig adNetworkConfig) Additional parameters for mediation- Parameters:
networkName- a name of ad networkadNetworkConfig- an instance of AdNetworkConfig
-
isLoadCalled
protected boolean isLoadCalled()
-