Class NativeBanner
-
- All Implemented Interfaces:
public class NativeBannerA data class for Native Banner Ad.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNativeBanner.BuilderBuilder for model is used for mediation
-
Method Summary
Modifier and Type Method Description StringgetAboutCompanyInfo()Get information about company/firm. ImageDatagetAdChoicesIcon()List<MenuAction>getAdChoicesMenuActions()Get list of adchoices menu actions. StringgetAdvertisingLabel()Advertising label is StringgetAgeRestrictions()StringgetBundleId()StringgetCtaText()StringgetDescription()StringgetDisclaimer()DisclaimergetDisclaimerInfo()StringgetDomain()A web site address of advertiser. StringgetErid()ImageDatagetIcon()StringgetId()StringgetNavigationType()Navigation type of ads. floatgetRating()Application rating used for ad with store navigation type NativeBanner. StringgetStoreType()Returns store type. StringgetTitle()intgetVotes()Application store votes used for ad with store navigation type NativeBanner. booleanhasAdChoices()StringtoString()-
-
Method Detail
-
getAboutCompanyInfo
@Nullable() String getAboutCompanyInfo()
Get information about company/firm. May contain few lines of text.
If it is not
nullthen application will receive this text via addAboutCompanyInfo call.- Returns:
information about company/firm; or
null
-
getAdChoicesIcon
@Nullable() ImageData getAdChoicesIcon()
- Returns:
adChoices icon image
-
getAdChoicesMenuActions
@Nullable() List<MenuAction> getAdChoicesMenuActions()
Get list of adchoices menu actions.
These menu actions will be provided to application via addAction calls in the same order.
- Returns:
list of menu actions; or
null
-
getAdvertisingLabel
@Nullable() String getAdvertisingLabel()
Advertising label is
- Returns:
ad advertising label
-
getAgeRestrictions
@Nullable() String getAgeRestrictions()
- Returns:
ad age restrictions text
-
getBundleId
@Nullable() String getBundleId()
- Returns:
bundleId
-
getCtaText
@Nullable() String getCtaText()
- Returns:
ad call-to-action text
-
getDescription
@Nullable() String getDescription()
- Returns:
ad description text
-
getDisclaimer
@Deprecated()@Nullable() String getDisclaimer()
- Returns:
ad disclaimer text
-
getDisclaimerInfo
@Nullable() Disclaimer getDisclaimerInfo()
- Returns:
ad disclaimer object
-
getDomain
@Nullable() String getDomain()
A web site address of advertiser. Can be used for ad with web navigation type NativeBanner.navigationType
- Returns:
domain text
-
getNavigationType
@NonNull() String getNavigationType()
Navigation type of ads. Possible values in NavigationType class. Represents base type of ad, according this type there can be different click logic and fields displaying
- Returns:
banner navigation type
-
getRating
float getRating()
Application rating used for ad with store navigation type NativeBanner.navigationType
- Returns:
ad rating. Can be [0, 5] inclusively
-
getStoreType
@Nullable() String getStoreType()
Returns store type.
- Returns:
store type or
nullValue is APP_GALLERY, APP_STORE, GOOGLE_PLAY, or RU_STORE
-
getVotes
int getVotes()
Application store votes used for ad with store navigation type NativeBanner.navigationType
- Returns:
votes count
-
hasAdChoices
boolean hasAdChoices()
- Returns:
isHasAdChoices
-
-
-
-