Interface ResolvedCompanion
-
- All Implemented Interfaces:
-
android.os.Parcelable,com.naver.ads.video.player.ClickTrackingProvider,com.naver.ads.video.player.TrackingProvider,com.naver.ads.video.vast.ResolvedCreative,com.naver.ads.video.vast.ResourcesProvider
public interface ResolvedCompanion implements ResolvedCreative, ResourcesProvider
Represents a resolved com.naver.ads.video.vast.raw.CompanionAd
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumResolvedCompanion.RequiredDefines the required attributes of CompanionAds element
public enumResolvedCompanion.RenderingModeDefines the renderingMode attributes of CompanionAd element
-
Method Summary
Modifier and Type Method Description abstract ResolvedCompanion.RequiredgetRequired()the information about which Companion creative to display when multiple Companions are supplied and whether the ad can be displayed without its Companion creative. abstract IntegergetWidth()The pixel width of the placement slot for which the creative is intended. abstract IntegergetHeight()the pixel height of the placement slot for which the creative is intended. abstract IntegergetAssetWidth()the pixel width of the creative. abstract IntegergetAssetHeight()the pixel height of the creative. abstract IntegergetExpandedWidth()the maximum pixel width of the creative in its expanded state. abstract IntegergetExpandedHeight()the maximum pixel height of the creative in its expanded state. abstract StringgetAdSlotId()the id used to identify desired placement on a publisher’s page. abstract ResolvedCompanion.RenderingModegetRenderingMode()used to indicate when and where to use this companion ad. abstract BooleangetXmlEncoded()identifies whether the ad parameters are xml-encoded. abstract StringgetAltText()the alternative text for the image. -
-
Method Detail
-
getRequired
abstract ResolvedCompanion.Required getRequired()
the information about which Companion creative to display when multiple Companions are supplied and whether the ad can be displayed without its Companion creative. The value for required can be one of three values: Required.ALL, Required.ANY, or Required.NONE.
-
getWidth
abstract Integer getWidth()
The pixel width of the placement slot for which the creative is intended.
-
getHeight
abstract Integer getHeight()
the pixel height of the placement slot for which the creative is intended.
-
getAssetWidth
abstract Integer getAssetWidth()
the pixel width of the creative.
-
getAssetHeight
abstract Integer getAssetHeight()
the pixel height of the creative.
-
getExpandedWidth
abstract Integer getExpandedWidth()
the maximum pixel width of the creative in its expanded state.
-
getExpandedHeight
abstract Integer getExpandedHeight()
the maximum pixel height of the creative in its expanded state.
-
getAdSlotId
abstract String getAdSlotId()
the id used to identify desired placement on a publisher’s page. Values to be used should be discussed between publishers and advertisers.
-
getRenderingMode
abstract ResolvedCompanion.RenderingMode getRenderingMode()
used to indicate when and where to use this companion ad. Values can be RenderingMode.DEFAULT or RenderingMode.END_CARD or RenderingMode.CONCURRENT. If this field is empty or not given, RenderingMode.DEFAULT will be used.
-
getXmlEncoded
abstract Boolean getXmlEncoded()
identifies whether the ad parameters are xml-encoded.
-
getAltText
abstract String getAltText()
the alternative text for the image.
-
-
-
-