PlacementDecision

public struct PlacementDecision : Codable
extension PlacementDecision: CustomStringConvertible

Undocumented

  • Undocumented

    Declaration

    Swift

    public static let divNameProviderCodingInfoKey: CodingUserInfoKey
  • Undocumented

    Declaration

    Swift

    public class PlacementDivProvider
  • The name of the div requested

    Declaration

    Swift

    public let divName: String
  • Undocumented

    Declaration

    Swift

    public let adId: Int?
  • Undocumented

    Declaration

    Swift

    public let creativeId: Int?
  • Undocumented

    Declaration

    Swift

    public let flightId: Int?
  • Undocumented

    Declaration

    Swift

    public let campaignId: Int?
  • Undocumented

    Declaration

    Swift

    public let clickUrl: URL?
  • Undocumented

    Declaration

    Swift

    public let impressionUrl: URL?
  • An array of PlacementDecision.Content values, representing the actual contents to display for this decision, if there are any.

    Declaration

    Swift

    public let contents: [Content]
  • An array of PlacementDecision.Event values, representing the events for this decision, if there are any.

    Declaration

    Swift

    public let events: [Event]
  • All of the attributes will be present in this dictionary, in case there are additional attributes being sent that are not modeled as properties.

    Declaration

    Swift

    public let allAttributes: [String : AnyCodable]?
  • If the request was made with includeMatchedPoints=true, then the response will contain an array of lat/lon GeoPoints that can be used for GeoDistance targeting.

    Declaration

    Swift

    public let matchedPoints: [GeoPoint]?
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Undocumented

    See more

    Declaration

    Swift

    public struct Content : Codable
  • Declaration

    Swift

    public var description: String { get }
  • Undocumented

    See more

    Declaration

    Swift

    struct Event : Codable