open class SxPlacementType
CUSTOM |
Custom vendor specific code. class CUSTOM : SxPlacementType |
INSIDE_ATOMIC |
In the atomic unit of the content (e.g., in the article page or single image page). object INSIDE_ATOMIC : SxPlacementType |
INSIDE_FEED |
In the feed of content (e.g., as an item inside the organic feed, grid, listing, carousel, etc.). object INSIDE_FEED : SxPlacementType |
OUTSIDE_CORE |
Outside the core content (e.g., in the ads section on the right rail, as a banner-style placement near the content, etc.). object OUTSIDE_CORE : SxPlacementType |
RECOMMENDATION |
Recommendation widget; most commonly presented below article content. object RECOMMENDATION : SxPlacementType |
UNDEFINED |
Not explicitly defined by the publisher. object UNDEFINED : SxPlacementType |
<init> |
SxPlacementType(code: Int? = null) |
code |
var code: Int? |
codeToPlacementType |
fun Int.codeToPlacementType(): SxPlacementType |