JWAdEventKey
@objc
public enum JWAdEventKey : Int, CaseIterable, CustomStringConvertible
Keys into the JWAdEvent payload.
-
The position of the ad within the content.
Declaration
Swift
case adPosition -
Ad system referenced inside of the VAST XML.
Declaration
Swift
case adSystem -
The title of the ad.
Declaration
Swift
case adTitle -
The url which will be visited when the ad is tapped.
Declaration
Swift
case clickThroughUrl -
Descriptions of the ad’s companions.
Declaration
Swift
case companions -
The ad identifier.
Declaration
Swift
case creativeAdId -
The creative id.
Declaration
Swift
case creativeId -
The type of ad being displayed for the ad.
Declaration
Swift
case creativetype -
A descriptive name of the ad.
Declaration
Swift
case id -
A verbose description of Google IMA properties.
Declaration
Swift
case ima -
A description of the ad impression.
Declaration
Swift
case impression -
A value indicating whether the ad is
linearornonlinear. Nonlinear ads are not supported in the SDK.Declaration
Swift
case linear -
Object containing the metadata from the ad. The values contained within the object will vary based on the ad.
Declaration
Swift
case metadata -
The new state of the ad.
Declaration
Swift
case newState -
Tne old state of the ad prior to the current event.
Declaration
Swift
case oldState -
The reason for pausing.
Declaration
Swift
case pauseReason -
Value sent in a bid request that identifies the location of a player.
Declaration
Swift
case placement -
The reason for playing.
Declaration
Swift
case playReason -
The pod count total.
Declaration
Swift
case podCount -
The current playback position in the ad creative in seconds.
Declaration
Swift
case position -
The index of the current ad in the ad pod.
Declaration
Swift
case sequence -
The number of seconds before the user is allowed to skip the ad.
Declaration
Swift
case skipOffset -
The URL of the ad tag.
Declaration
Swift
case tag -
The type of creative being displayed.
Declaration
Swift
case type -
Whether or not the player is currently visible. A
0indicates it is 50% or less viewable, while a1indicates it is 50% or greater viewable.Declaration
Swift
case viewable -
Returns a string describing the constant
Declaration
Swift
public var description: String { get }
JWAdEventKey Enumeration Reference