Signals

public class Signals : NSObject

A class containing constants related to OpenRTB signals.

This class provides static constants and values representing different API frameworks, playback methods, protocols, start delays, and video placement types as defined in the OpenRTB specification.

  • Api

    OpenRTB - API Frameworks

     | Value | Description |
     |-------|-------------|
     | 1     | VPAID 1.0   |
     | 2     | VPAID 2.0   |
     | 3     | MRAID-1     |
     | 4     | ORMMA       |
     | 5     | MRAID-2     |
     | 6     | MRAID-3     |
     | 7     | OMID-1      |
    
    See more

    Declaration

    Swift

    @objc(PBApi)
    public class Api : SingleContainerInt
  • OpenRTB - Playback Methods

    | Value | Description                                              |
    |-------|----------------------------------------------------------|
    | 1     | Initiates on Page Load with Sound On                     |
    | 2     | Initiates on Page Load with Sound Off by Default         |
    | 3     | Initiates on Click with Sound On                         |
    | 4     | Initiates on Mouse-Over with Sound On                    |
    | 5     | Initiates on Entering Viewport with Sound On             |
    | 6     | Initiates on Entering Viewport with Sound Off by Default |
    
    See more

    Declaration

    Swift

    @objc(PBPlaybackMethod)
    public class PlaybackMethod : SingleContainerInt
  • OpenRTB - Protocols

    | Value | Description       |
    |-------|-------------------|
    | 1     | VAST 1.0          |
    | 2     | VAST 2.0          |
    | 3     | VAST 3.0          |
    | 4     | VAST 1.0 Wrapper  |
    | 5     | VAST 2.0 Wrapper  |
    | 6     | VAST 3.0 Wrapper  |
    | 7     | VAST 4.0          |
    | 8     | VAST 4.0 Wrapper  |
    | 9     | DAAST 1.0         |
    | 10    | DAAST 1.0 Wrapper |
    
    See more

    Declaration

    Swift

    @objc(PBProtocols)
    public class Protocols : SingleContainerInt
  • OpenRTB - Start Delay

    | Value | Description                                      |
    |-------|--------------------------------------------------|
    | > 0   | Mid-Roll (value indicates start delay in second) |
    | 0     | Pre-Roll                                         |
    | -1    | Generic Mid-Roll                                 |
    | -2    | Generic Post-Roll                                |
    
    See more

    Declaration

    Swift

    @objc(PBStartDelay)
    public class StartDelay : SingleContainerInt
  • OpenRTB - Video Placement Types

    | Value | Description                  |
    |-------|------------------------------|
    | 1     | In-Stream                    |
    | 2     | In-Banner                    |
    | 3     | In-Article                   |
    | 4     | In-Feed                      |
    | 5     | Interstitial/Slider/Floating |
    
    See more

    Declaration

    Swift

    @objc(PBPlacement)
    public class Placement : SingleContainerInt
  • OpenRTB - Updated Video Placement Types

    | Value | Description                  |
    |-------|------------------------------|
    | 1     | Instream                     |
    | 2     | Accompanying Content         |
    | 3     | Interstitial                 |
    | 4     | No Content/Standalone        |
    
    See more

    Declaration

    Swift

    @objc(PBPlcmnt)
    public class Plcmnt : SingleContainerInt
  • OpenRTB - Creative Attributes

     | Value | Description                                                                |
     |-------|----------------------------------------------------------------------------|
     | 1     | Audio Ad (Autoplay)                                                        |
     | 2     | Audio Ad (User Initiated)                                                  |
     | 3     | Expandable (Automatic)                                                     |
     | 4     | Expandable (User Initiated - Click)                                        |
     | 5     | Expandable (User Initiated - Rollover)                                     |
     | 6     | In-Banner Video Ad (Autoplay)                                              |
     | 7     | In-Banner Video Ad (User Initiated)                                        |
     | 8     | Pop (e.g., Over, Under, or Upon Exit)                                      |
     | 9     | Provocative or Suggestive Imagery                                          |
     | 10    | Shaky, Flashing, Flickering, Extreme Animation, Smileys                    |
     | 11    | Surveys                                                                    |
     | 12    | Text Only                                                                  |
     | 13    | User Interactive (e.g., Embedded Games)                                    |
     | 14    | Windows Dialog or Alert Style                                              |
     | 15    | Has Audio On/Off Button                                                    |
     | 16    | Ad Provides Skip Button (e.g. VPAID-rendered skip button on pre-roll video)|
     | 17    | Adobe Flash                                                                |
    
    See more

    Declaration

    Swift

    @objc(PBCreativeAttribute)
    public class CreativeAttribute : SingleContainerInt