-
public class AdDisplayPositionWhere in the host's UI the ad slot is conceptually placed.
A bidding hint, not a layout instruction — the SDK does not move views; it forwards rawValue to the server so contextual ranking can account for placement intent. Use Custom when none of the built-in cases fit.
Mirrors iOS
AdDisplayPosition. Raw values must stay aligned across platforms — the server treats them as opaque placement codes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAdDisplayPosition.BetweenMessagesInline between two chat messages.
public classAdDisplayPosition.AfterAssistantTurnAfter the latest assistant turn, anchored to the most recent answer.
public classAdDisplayPosition.BannerPersistent banner at the top or bottom of the chat.
public final classAdDisplayPosition.CustomA host-defined identifier for surfaces that don't fit the built-in cases.
-
Method Summary
Modifier and Type Method Description final StringgetRawValue()-
-
Method Detail
-
getRawValue
final String getRawValue()
-
-
-
-