-
public abstract class BaseAdAbstract base class representing a generic ad. This serves as the common model for different ad types like ImageAd, VideoAd,CarousalAd, etc.
All specific ad classes must inherit from this and provide required fields.
-
-
Field Summary
Fields Modifier and Type Field Description private final AdTypeelementsTypeprivate final Stringcrtprivate final Stringcli_ubidprivate final Map<String, Object>adMetadata
-
Constructor Summary
Constructors Constructor Description BaseAd()
-
Method Summary
Modifier and Type Method Description abstract AdTypegetElementsType()abstract StringgetCrt()abstract StringgetCli_ubid()abstract Map<String, Object>getAdMetadata()-
-
Method Detail
-
getElementsType
abstract AdType getElementsType()
-
getCli_ubid
abstract String getCli_ubid()
-
getAdMetadata
abstract Map<String, Object> getAdMetadata()
-
-
-
-