NimbusApp

struct NimbusApp
extension NimbusApp : Decodable, Encodable, Equatable

This object should be included if the ad supported content is a non-browser application (typically in mobile) as opposed to a website. OpenRTB Section 3.2.14

  • App name (may be aliased at the publisher’s request). Default: nil

    Declaration

    Swift

    var name: String?
  • Domain of the app (e.g., “adsbynimbus.com”). Default: nil

    Declaration

    Swift

    var domain: URL?
  • A platform-specific application identifier intended to be unique to the app and independent of the exchange. On iOS, it is typically a numeric ID. Default: nil

    Declaration

    Swift

    var bundle: String?
  • App store URL for an installed app; for IQG 2.1 compliance. Default: nil

    Declaration

    Swift

    var storeUrl: URL?
  • IAB content categories of the app OpenRTB Section 5.1

    Declaration

    Swift

    var appCategories: Set<String>?
  • IAB content categories that describe the current section of the app. OpenRTB Section 5.1

    Declaration

    Swift

    var sectionCategories: Set<String>?
  • IAB content categories that describe the current page or view of the app. OpenRTB Section 5.1

    Declaration

    Swift

    var pageCategories: Set<String>?
  • Application version

    Declaration

    Swift

    var version: String?
  • Indicates if the app has a privacy policy

    Declaration

    Swift

    var hasPrivacyPolicy: Bool?
  • Whether the app is paid or not

    Declaration

    Swift

    var isPaidApp: Bool?
  • Details about the publisher of the app

    Declaration

    Swift

    var publisher: NimbusPublisher?
  • Initializes a NimbusApp object

    • name: App name (may be aliased at the publisher’s request). Default: nil
    • domain: Domain of the app (e.g., “adsbynimbus.com”). Default: nil
    • bundle: A platform-specific application identifier intended to be unique to the app and independent of the exchange. On iOS, it is typically a numeric ID. Default: nil
    • storeUrl: App store URL for an installed app; for IQG 2.1 compliance. Default: nil
    • appCategories: IAB content categories of the app
    • sectionCategories: IAB content categories that describe the current section of the app
    • pageCategories: IAB content categories that describe the current page or view of the app

    Version

    Application version
    • hasPrivacyPolicy: Indicates if the app has a privacy policy
    • isPaidApp: Whether the app is paid or not
    • publisher: Details about the publisher of the app

    Declaration

    Swift

    init(name: String? = nil, domain: URL? = nil, bundle: String? = nil, storeUrl: URL? = nil, appCategories: Set<String>? = nil, sectionCategories: Set<String>? = nil, pageCategories: Set<String>? = nil, version: String? = nil, hasPrivacyPolicy: Bool? = nil, isPaidApp: Bool? = nil, publisher: NimbusPublisher? = nil)
  • Undocumented

    Declaration

    Swift

    static func != (lhs: Self, rhs: Self) -> Bool