Package com.my.target.nativeads.banners
Class NativeBanner
java.lang.Object
com.my.target.nativeads.banners.NativeBanner
- Direct Known Subclasses:
NativePromoBanner
A data class for Native Banner Ad.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for model is used for mediation -
Method Summary
Modifier and TypeMethodDescriptionAdvertising label isDeprecated.A web site address of advertiser.getIcon()Navigation type of ads.floatApplication rating used for ad with store navigation type
NativeBanner#navigationTypeReturns store type.getTitle()intgetVotes()Application store votes used for ad with store navigation type
NativeBanner#navigationTypebooleantoString()
-
Method Details
-
getIcon
- Returns:
- icon image
- See Also:
-
getTitle
- Returns:
- ad title text
-
getCtaText
- Returns:
- ad call-to-action text
-
getDescription
- Returns:
- ad description text
-
getDisclaimer
Deprecated.useNativeBanner#getDisclaimerInfo().text- Returns:
- ad disclaimer text
-
getDisclaimerInfo
- Returns:
- ad disclaimer object
-
getAgeRestrictions
- Returns:
- ad age restrictions text
-
getRating
public float getRating()Application rating used for ad with store navigation type
NativeBanner#navigationType- Returns:
- ad rating. Can be [0, 5] inclusively
- See Also:
-
getVotes
public int getVotes()Application store votes used for ad with store navigation type
NativeBanner#navigationType- Returns:
- votes count
- See Also:
-
getDomain
A web site address of advertiser. Can be used for ad with web navigation type
NativeBanner#navigationType- Returns:
- domain text
- See Also:
-
getStoreType
Returns store type.- Returns:
- store type or
nullValue isStoreType.APP_GALLERY,StoreType.APP_STORE,StoreType.GOOGLE_PLAY, orStoreType.RU_STORE
-
getAdvertisingLabel
Advertising label is- Returns:
- ad advertising label
-
getAdChoicesIcon
- Returns:
- adChoices icon image
- See Also:
-
getBundleId
- Returns:
- bundleId
-
hasAdChoices
public boolean hasAdChoices()- Returns:
- isHasAdChoices
-
toString
-
NativeBanner#getDisclaimerInfo().text