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
public abstract class BaseAd extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AdConfigadConfigprotected MetricMessage.FactorymetricFactory
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseAd(int slotId, java.lang.String format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomParamsgetCustomParams()Each Ad object contains custom params.protected booleanisLoadCalled()voidsetAdNetworkConfig(java.lang.String networkName, AdNetworkConfig adNetworkConfig)Additional parameters for mediation
-
-
-
Method Detail
-
getCustomParams
@NonNull public CustomParams getCustomParams()
Each Ad object contains custom params. Information from CustomParams will be added to the Ad request- Returns:
- customParams object
- See Also:
CustomParams
-
setAdNetworkConfig
public void setAdNetworkConfig(@NonNull java.lang.String networkName, @NonNull AdNetworkConfig adNetworkConfig)Additional parameters for mediation- Parameters:
networkName- a name of ad networkadNetworkConfig- an instance of AdNetworkConfig
-
isLoadCalled
protected boolean isLoadCalled()
-
-