NimbusCreativeAttribute
enum NimbusCreativeAttribute
extension NimbusCreativeAttribute : Decodable, Encodable, Equatable, Hashable, RawRepresentable
Standard list of creative attributes that can describe an ad being served or serve as restrictions of thereof OpenRTB Section 5.3
-
Audio Ad (Auto-Play)
Declaration
Swift
case audioAdAutoPlay -
Audio Ad (User Initiated)
Declaration
Swift
case audioAdUserInitiated -
Expandable (Automatic)
Declaration
Swift
case expandableAutomatic -
Expandable (User Initiated - Click)
Declaration
Swift
case expandableUserInitiatedClick -
Expandable (User Initiated - Rollover)
Declaration
Swift
case expandableUserInitiatedRollover -
In-Banner Video Ad (Auto-Play)
Declaration
Swift
case inBannerVideoAdAutoPlay -
In-Banner Video Ad (User Initiated)
Declaration
Swift
case inBannerVideoAdUserInitiated -
Pop (e.g., Over, Under, or Upon Exit)
Declaration
Swift
case hasPopup -
Provocative or Suggestive Imagery
Declaration
Swift
case provocativeOrSuggestiveImagery -
Shaky, Flashing, Flickering, Extreme Animation, Smileys
Declaration
Swift
case shakyFlashingFlickeringExtremeAnimationSmileys -
Surveys
Declaration
Swift
case surveys -
Text Only
Declaration
Swift
case textOnly -
User Interactive (e.g., Embedded Games)
Declaration
Swift
case userInteractive -
Windows Dialog or Alert Style
Declaration
Swift
case windowsDialogOrAlertStyle -
Has Audio On/Off Button
Declaration
Swift
case hasAudioOnOffButton -
Ad Provides Skip Button (e.g. VPAID-rendered skip button on pre-roll video)
Declaration
Swift
case adProvidesSkipButton -
Adobe Flash
Declaration
Swift
case adobeFlash -
Returns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values
aandb,a != bimplies thata == bisfalse.This is the default implementation of the not-equal-to operator (
!=) for any type that conforms toEquatable.Declaration
Swift
static func != (lhs: Self, rhs: Self) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
-
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional("PaperSize.Legal")" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"Declaration
Swift
init?(rawValue: Int)
-
Undocumented
Declaration
Swift
func hash(into hasher: inout Hasher) -
Undocumented
Declaration
Swift
var hashValue: Int { get }
-
Creates a new instance by decoding from the given decoder, when the type’s
RawValueisInt.This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Declaration
Swift
init(from decoder: any Decoder) throws
-
Encodes this value into the given encoder, when the type’s
RawValueisInt.This function throws an error if any values are invalid for the given encoder’s format.
Declaration
Swift
func encode(to encoder: any Encoder) throws
NimbusCreativeAttribute Enumeration Reference