NimbusPublisher

struct NimbusPublisher
extension NimbusPublisher : Decodable, Encodable, Equatable

This describes the publisher of the media in which the ad will be displayed. The publisher is typically the seller in an OpenRTB transaction. OpenRTB Section 3.2.15

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

    Declaration

    Swift

    var name: String?
  • Highest level domain of the publisher (e.g., “adsbynimbus.com”). Default: nil

    Declaration

    Swift

    var domain: URL?
  • IAB content categories that describe the publisher. OpenRTB Section 5.1 Default: nil

    Declaration

    Swift

    var appCategories: Set<String>?
  • Initializes a Nimbus response object

    • name: Publisher name (may be aliased at the publisher’s request). Default: nil
    • domain: Highest level domain of the publisher (e.g., “adsbynimbus.com”). Default: nil
    • appCategories: IAB content categories that describe the publisher. Default: nil

    Declaration

    Swift

    init(name: String? = nil, domain: URL? = nil, appCategories: Set<String>? = nil)
  • Undocumented

    Declaration

    Swift

    static func != (lhs: Self, rhs: Self) -> Bool
  • Creates a new instance by decoding from the given decoder.

    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: Decoder) throws