import * as $protobuf from "protobufjs"; /** Namespace augment. */ export namespace augment { /** Properties of an AugmentorRequest. */ interface IAugmentorRequest { /** AugmentorRequest bid_request */ bid_request?: (openrtb.IBidRequest|null); } /** Represents an AugmentorRequest. */ class AugmentorRequest implements IAugmentorRequest { /** * Constructs a new AugmentorRequest. * @param [properties] Properties to set */ constructor(properties?: augment.IAugmentorRequest); /** AugmentorRequest bid_request. */ public bid_request?: (openrtb.IBidRequest|null); /** * Creates a new AugmentorRequest instance using the specified properties. * @param [properties] Properties to set * @returns AugmentorRequest instance */ public static create(properties?: augment.IAugmentorRequest): augment.AugmentorRequest; /** * Encodes the specified AugmentorRequest message. Does not implicitly {@link augment.AugmentorRequest.verify|verify} messages. * @param message AugmentorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: augment.IAugmentorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AugmentorRequest message, length delimited. Does not implicitly {@link augment.AugmentorRequest.verify|verify} messages. * @param message AugmentorRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: augment.IAugmentorRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AugmentorRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AugmentorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): augment.AugmentorRequest; /** * Decodes an AugmentorRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AugmentorRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): augment.AugmentorRequest; /** * Verifies an AugmentorRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AugmentorRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AugmentorRequest */ public static fromObject(object: { [k: string]: any }): augment.AugmentorRequest; /** * Creates a plain object from an AugmentorRequest message. Also converts values to other types if specified. * @param message AugmentorRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: augment.AugmentorRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AugmentorRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AugmentorResponse. */ interface IAugmentorResponse { /** AugmentorResponse segments */ segments?: (augment.AugmentorResponse.ISegment[]|null); /** AugmentorResponse dynamic_macros */ dynamic_macros?: (augment.AugmentorResponse.IMacro[]|null); } /** Represents an AugmentorResponse. */ class AugmentorResponse implements IAugmentorResponse { /** * Constructs a new AugmentorResponse. * @param [properties] Properties to set */ constructor(properties?: augment.IAugmentorResponse); /** AugmentorResponse segments. */ public segments: augment.AugmentorResponse.ISegment[]; /** AugmentorResponse dynamic_macros. */ public dynamic_macros: augment.AugmentorResponse.IMacro[]; /** * Creates a new AugmentorResponse instance using the specified properties. * @param [properties] Properties to set * @returns AugmentorResponse instance */ public static create(properties?: augment.IAugmentorResponse): augment.AugmentorResponse; /** * Encodes the specified AugmentorResponse message. Does not implicitly {@link augment.AugmentorResponse.verify|verify} messages. * @param message AugmentorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: augment.IAugmentorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AugmentorResponse message, length delimited. Does not implicitly {@link augment.AugmentorResponse.verify|verify} messages. * @param message AugmentorResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: augment.IAugmentorResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AugmentorResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AugmentorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): augment.AugmentorResponse; /** * Decodes an AugmentorResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AugmentorResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): augment.AugmentorResponse; /** * Verifies an AugmentorResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AugmentorResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AugmentorResponse */ public static fromObject(object: { [k: string]: any }): augment.AugmentorResponse; /** * Creates a plain object from an AugmentorResponse message. Also converts values to other types if specified. * @param message AugmentorResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: augment.AugmentorResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AugmentorResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace AugmentorResponse { /** Properties of a Segment. */ interface ISegment { /** Segment id */ id?: (string|null); /** Segment value */ value?: (string|null); /** Segment multiplier */ multiplier?: (number|null); } /** Represents a Segment. */ class Segment implements ISegment { /** * Constructs a new Segment. * @param [properties] Properties to set */ constructor(properties?: augment.AugmentorResponse.ISegment); /** Segment id. */ public id: string; /** Segment value. */ public value: string; /** Segment multiplier. */ public multiplier: number; /** * Creates a new Segment instance using the specified properties. * @param [properties] Properties to set * @returns Segment instance */ public static create(properties?: augment.AugmentorResponse.ISegment): augment.AugmentorResponse.Segment; /** * Encodes the specified Segment message. Does not implicitly {@link augment.AugmentorResponse.Segment.verify|verify} messages. * @param message Segment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: augment.AugmentorResponse.ISegment, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Segment message, length delimited. Does not implicitly {@link augment.AugmentorResponse.Segment.verify|verify} messages. * @param message Segment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: augment.AugmentorResponse.ISegment, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Segment message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Segment * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): augment.AugmentorResponse.Segment; /** * Decodes a Segment message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Segment * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): augment.AugmentorResponse.Segment; /** * Verifies a Segment message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Segment message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Segment */ public static fromObject(object: { [k: string]: any }): augment.AugmentorResponse.Segment; /** * Creates a plain object from a Segment message. Also converts values to other types if specified. * @param message Segment * @param [options] Conversion options * @returns Plain object */ public static toObject(message: augment.AugmentorResponse.Segment, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Segment to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Macro. */ interface IMacro { /** Macro name */ name?: (string|null); /** Macro value */ value?: (string|null); } /** Represents a Macro. */ class Macro implements IMacro { /** * Constructs a new Macro. * @param [properties] Properties to set */ constructor(properties?: augment.AugmentorResponse.IMacro); /** Macro name. */ public name: string; /** Macro value. */ public value: string; /** * Creates a new Macro instance using the specified properties. * @param [properties] Properties to set * @returns Macro instance */ public static create(properties?: augment.AugmentorResponse.IMacro): augment.AugmentorResponse.Macro; /** * Encodes the specified Macro message. Does not implicitly {@link augment.AugmentorResponse.Macro.verify|verify} messages. * @param message Macro message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: augment.AugmentorResponse.IMacro, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Macro message, length delimited. Does not implicitly {@link augment.AugmentorResponse.Macro.verify|verify} messages. * @param message Macro message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: augment.AugmentorResponse.IMacro, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Macro message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Macro * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): augment.AugmentorResponse.Macro; /** * Decodes a Macro message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Macro * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): augment.AugmentorResponse.Macro; /** * Verifies a Macro message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Macro message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Macro */ public static fromObject(object: { [k: string]: any }): augment.AugmentorResponse.Macro; /** * Creates a plain object from a Macro message. Also converts values to other types if specified. * @param message Macro * @param [options] Conversion options * @returns Plain object */ public static toObject(message: augment.AugmentorResponse.Macro, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Macro to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Namespace openrtb. */ export namespace openrtb { /** Properties of an AdvertiserInfo. */ interface IAdvertiserInfo { /** AdvertiserInfo included_advertisers */ included_advertisers?: ((number|Long)[]|null); /** AdvertiserInfo excluded_advertisers */ excluded_advertisers?: ((number|Long)[]|null); /** AdvertiserInfo blocked */ blocked?: (boolean|null); /** AdvertiserInfo minimum_cpm_micros */ minimum_cpm_micros?: (number|Long|null); } /** Represents an AdvertiserInfo. */ class AdvertiserInfo implements IAdvertiserInfo { /** * Constructs a new AdvertiserInfo. * @param [properties] Properties to set */ constructor(properties?: openrtb.IAdvertiserInfo); /** AdvertiserInfo included_advertisers. */ public included_advertisers: (number|Long)[]; /** AdvertiserInfo excluded_advertisers. */ public excluded_advertisers: (number|Long)[]; /** AdvertiserInfo blocked. */ public blocked: boolean; /** AdvertiserInfo minimum_cpm_micros. */ public minimum_cpm_micros: (number|Long); /** * Creates a new AdvertiserInfo instance using the specified properties. * @param [properties] Properties to set * @returns AdvertiserInfo instance */ public static create(properties?: openrtb.IAdvertiserInfo): openrtb.AdvertiserInfo; /** * Encodes the specified AdvertiserInfo message. Does not implicitly {@link openrtb.AdvertiserInfo.verify|verify} messages. * @param message AdvertiserInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IAdvertiserInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdvertiserInfo message, length delimited. Does not implicitly {@link openrtb.AdvertiserInfo.verify|verify} messages. * @param message AdvertiserInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IAdvertiserInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdvertiserInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdvertiserInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.AdvertiserInfo; /** * Decodes an AdvertiserInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdvertiserInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.AdvertiserInfo; /** * Verifies an AdvertiserInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdvertiserInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdvertiserInfo */ public static fromObject(object: { [k: string]: any }): openrtb.AdvertiserInfo; /** * Creates a plain object from an AdvertiserInfo message. Also converts values to other types if specified. * @param message AdvertiserInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.AdvertiserInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdvertiserInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Dimension. */ interface IDimension { /** Dimension width */ width?: (number|null); /** Dimension height */ height?: (number|null); } /** Represents a Dimension. */ class Dimension implements IDimension { /** * Constructs a new Dimension. * @param [properties] Properties to set */ constructor(properties?: openrtb.IDimension); /** Dimension width. */ public width: number; /** Dimension height. */ public height: number; /** * Creates a new Dimension instance using the specified properties. * @param [properties] Properties to set * @returns Dimension instance */ public static create(properties?: openrtb.IDimension): openrtb.Dimension; /** * Encodes the specified Dimension message. Does not implicitly {@link openrtb.Dimension.verify|verify} messages. * @param message Dimension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IDimension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Dimension message, length delimited. Does not implicitly {@link openrtb.Dimension.verify|verify} messages. * @param message Dimension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IDimension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Dimension message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Dimension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.Dimension; /** * Decodes a Dimension message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Dimension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.Dimension; /** * Verifies a Dimension message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Dimension message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Dimension */ public static fromObject(object: { [k: string]: any }): openrtb.Dimension; /** * Creates a plain object from a Dimension message. Also converts values to other types if specified. * @param message Dimension * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.Dimension, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Dimension to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BidRequestExtensions. */ interface IBidRequestExtensions { /** BidRequestExtensions inventory_source */ inventory_source?: (openrtb.Enums.Inventory.Source|null); /** BidRequestExtensions auction_id */ auction_id?: (base.IEventId|null); /** BidRequestExtensions auctionid_str */ auctionid_str?: (string|null); /** BidRequestExtensions requestid_str */ requestid_str?: (string|null); /** BidRequestExtensions request_id_str */ request_id_str?: (string|null); /** BidRequestExtensions targeting_geo */ targeting_geo?: (openrtb.ITargetingGeoExtension|null); /** BidRequestExtensions time_of_week */ time_of_week?: (number|null); /** BidRequestExtensions buzz_key */ buzz_key?: (string|null); /** BidRequestExtensions augmentor_data */ augmentor_data?: (openrtb.BidRequestExtensions.IAugmentorData[]|null); /** BidRequestExtensions imp_tracker */ imp_tracker?: (openrtb.Enums.Inventory.ImpressionTracker|null); /** BidRequestExtensions supplier_click_tracker */ supplier_click_tracker?: (openrtb.Enums.Inventory.SupplierClickTracker|null); /** BidRequestExtensions appnexus */ appnexus?: (openrtb.IAppNexusBidRequestExtension|null); /** BidRequestExtensions adx */ adx?: (openrtb.IAdxBidRequestExtension|null); /** BidRequestExtensions ads_txt */ ads_txt?: (openrtb.BidRequestExtensions.AdsTxtStatus|null); } /** Represents a BidRequestExtensions. */ class BidRequestExtensions implements IBidRequestExtensions { /** * Constructs a new BidRequestExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IBidRequestExtensions); /** BidRequestExtensions inventory_source. */ public inventory_source: openrtb.Enums.Inventory.Source; /** BidRequestExtensions auction_id. */ public auction_id?: (base.IEventId|null); /** BidRequestExtensions auctionid_str. */ public auctionid_str: string; /** BidRequestExtensions requestid_str. */ public requestid_str: string; /** BidRequestExtensions request_id_str. */ public request_id_str: string; /** BidRequestExtensions targeting_geo. */ public targeting_geo?: (openrtb.ITargetingGeoExtension|null); /** BidRequestExtensions time_of_week. */ public time_of_week: number; /** BidRequestExtensions buzz_key. */ public buzz_key: string; /** BidRequestExtensions augmentor_data. */ public augmentor_data: openrtb.BidRequestExtensions.IAugmentorData[]; /** BidRequestExtensions imp_tracker. */ public imp_tracker: openrtb.Enums.Inventory.ImpressionTracker; /** BidRequestExtensions supplier_click_tracker. */ public supplier_click_tracker: openrtb.Enums.Inventory.SupplierClickTracker; /** BidRequestExtensions appnexus. */ public appnexus?: (openrtb.IAppNexusBidRequestExtension|null); /** BidRequestExtensions adx. */ public adx?: (openrtb.IAdxBidRequestExtension|null); /** BidRequestExtensions ads_txt. */ public ads_txt: openrtb.BidRequestExtensions.AdsTxtStatus; /** * Creates a new BidRequestExtensions instance using the specified properties. * @param [properties] Properties to set * @returns BidRequestExtensions instance */ public static create(properties?: openrtb.IBidRequestExtensions): openrtb.BidRequestExtensions; /** * Encodes the specified BidRequestExtensions message. Does not implicitly {@link openrtb.BidRequestExtensions.verify|verify} messages. * @param message BidRequestExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IBidRequestExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BidRequestExtensions message, length delimited. Does not implicitly {@link openrtb.BidRequestExtensions.verify|verify} messages. * @param message BidRequestExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IBidRequestExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BidRequestExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BidRequestExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequestExtensions; /** * Decodes a BidRequestExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BidRequestExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequestExtensions; /** * Verifies a BidRequestExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BidRequestExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BidRequestExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequestExtensions; /** * Creates a plain object from a BidRequestExtensions message. Also converts values to other types if specified. * @param message BidRequestExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequestExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BidRequestExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace BidRequestExtensions { /** Properties of an AugmentorData. */ interface IAugmentorData { /** AugmentorData id */ id?: (string|null); /** AugmentorData segment */ segment?: (openrtb.BidRequestExtensions.AugmentorData.ISegment[]|null); } /** Represents an AugmentorData. */ class AugmentorData implements IAugmentorData { /** * Constructs a new AugmentorData. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequestExtensions.IAugmentorData); /** AugmentorData id. */ public id: string; /** AugmentorData segment. */ public segment: openrtb.BidRequestExtensions.AugmentorData.ISegment[]; /** * Creates a new AugmentorData instance using the specified properties. * @param [properties] Properties to set * @returns AugmentorData instance */ public static create(properties?: openrtb.BidRequestExtensions.IAugmentorData): openrtb.BidRequestExtensions.AugmentorData; /** * Encodes the specified AugmentorData message. Does not implicitly {@link openrtb.BidRequestExtensions.AugmentorData.verify|verify} messages. * @param message AugmentorData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequestExtensions.IAugmentorData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AugmentorData message, length delimited. Does not implicitly {@link openrtb.BidRequestExtensions.AugmentorData.verify|verify} messages. * @param message AugmentorData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequestExtensions.IAugmentorData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AugmentorData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AugmentorData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequestExtensions.AugmentorData; /** * Decodes an AugmentorData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AugmentorData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequestExtensions.AugmentorData; /** * Verifies an AugmentorData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AugmentorData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AugmentorData */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequestExtensions.AugmentorData; /** * Creates a plain object from an AugmentorData message. Also converts values to other types if specified. * @param message AugmentorData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequestExtensions.AugmentorData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AugmentorData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace AugmentorData { /** Properties of a Segment. */ interface ISegment { /** Segment id */ id?: (string|null); /** Segment value */ value?: (string|null); } /** Represents a Segment. */ class Segment implements ISegment { /** * Constructs a new Segment. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequestExtensions.AugmentorData.ISegment); /** Segment id. */ public id: string; /** Segment value. */ public value: string; /** * Creates a new Segment instance using the specified properties. * @param [properties] Properties to set * @returns Segment instance */ public static create(properties?: openrtb.BidRequestExtensions.AugmentorData.ISegment): openrtb.BidRequestExtensions.AugmentorData.Segment; /** * Encodes the specified Segment message. Does not implicitly {@link openrtb.BidRequestExtensions.AugmentorData.Segment.verify|verify} messages. * @param message Segment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequestExtensions.AugmentorData.ISegment, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Segment message, length delimited. Does not implicitly {@link openrtb.BidRequestExtensions.AugmentorData.Segment.verify|verify} messages. * @param message Segment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequestExtensions.AugmentorData.ISegment, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Segment message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Segment * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequestExtensions.AugmentorData.Segment; /** * Decodes a Segment message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Segment * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequestExtensions.AugmentorData.Segment; /** * Verifies a Segment message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Segment message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Segment */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequestExtensions.AugmentorData.Segment; /** * Creates a plain object from a Segment message. Also converts values to other types if specified. * @param message Segment * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequestExtensions.AugmentorData.Segment, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Segment to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** AdsTxtStatus enum. */ enum AdsTxtStatus { UNKNOWN = -1, NO_DOMAIN = 0, NO_ADS_TXT_FILE = 1, ADS_TXT_NOT_SCANNED = 2, NO_ADVERTISING_ALLOWED = 3, MISSING_PUB_ID = 4, NOT_AUTH = 5, AUTH_RESELLER = 6, AUTH_DIRECT = 7 } } /** Properties of an ImpressionExtensions. */ interface IImpressionExtensions { /** ImpressionExtensions placement_type */ placement_type?: (openrtb.Enums.Inventory.PlacementType|null); /** ImpressionExtensions environment_type */ environment_type?: (openrtb.Enums.Inventory.EnvironmentType|null); /** ImpressionExtensions placements */ placements?: (string[]|null); /** ImpressionExtensions advertiser_info */ advertiser_info?: (openrtb.IAdvertiserInfo[]|null); /** ImpressionExtensions viewability */ viewability?: (openrtb.IViewabilityExtensions|null); /** ImpressionExtensions eligible_seat_ids */ eligible_seat_ids?: (string[]|null); /** ImpressionExtensions seat_constraints */ seat_constraints?: (openrtb.ISeatConstraintsExtension|null); /** ImpressionExtensions adx */ adx?: (openrtb.IAdxImpressionExtension|null); /** ImpressionExtensions allowed_restricted_category */ allowed_restricted_category?: (number[]|null); /** ImpressionExtensions allowed_restricted_category_for_deals */ allowed_restricted_category_for_deals?: (number[]|null); /** ImpressionExtensions exchange_predicted_view_rate */ exchange_predicted_view_rate?: (number|null); } /** Represents an ImpressionExtensions. */ class ImpressionExtensions implements IImpressionExtensions { /** * Constructs a new ImpressionExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IImpressionExtensions); /** ImpressionExtensions placement_type. */ public placement_type: openrtb.Enums.Inventory.PlacementType; /** ImpressionExtensions environment_type. */ public environment_type: openrtb.Enums.Inventory.EnvironmentType; /** ImpressionExtensions placements. */ public placements: string[]; /** ImpressionExtensions advertiser_info. */ public advertiser_info: openrtb.IAdvertiserInfo[]; /** ImpressionExtensions viewability. */ public viewability?: (openrtb.IViewabilityExtensions|null); /** ImpressionExtensions eligible_seat_ids. */ public eligible_seat_ids: string[]; /** ImpressionExtensions seat_constraints. */ public seat_constraints?: (openrtb.ISeatConstraintsExtension|null); /** ImpressionExtensions adx. */ public adx?: (openrtb.IAdxImpressionExtension|null); /** ImpressionExtensions allowed_restricted_category. */ public allowed_restricted_category: number[]; /** ImpressionExtensions allowed_restricted_category_for_deals. */ public allowed_restricted_category_for_deals: number[]; /** ImpressionExtensions exchange_predicted_view_rate. */ public exchange_predicted_view_rate: number; /** * Creates a new ImpressionExtensions instance using the specified properties. * @param [properties] Properties to set * @returns ImpressionExtensions instance */ public static create(properties?: openrtb.IImpressionExtensions): openrtb.ImpressionExtensions; /** * Encodes the specified ImpressionExtensions message. Does not implicitly {@link openrtb.ImpressionExtensions.verify|verify} messages. * @param message ImpressionExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IImpressionExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ImpressionExtensions message, length delimited. Does not implicitly {@link openrtb.ImpressionExtensions.verify|verify} messages. * @param message ImpressionExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IImpressionExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ImpressionExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ImpressionExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.ImpressionExtensions; /** * Decodes an ImpressionExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ImpressionExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.ImpressionExtensions; /** * Verifies an ImpressionExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ImpressionExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ImpressionExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.ImpressionExtensions; /** * Creates a plain object from an ImpressionExtensions message. Also converts values to other types if specified. * @param message ImpressionExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.ImpressionExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ImpressionExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BannerExtensions. */ interface IBannerExtensions { /** BannerExtensions bapis */ bapis?: (openrtb.Enums.BidRequest.Impression.ApiFramework[]|null); /** BannerExtensions required_attrs */ required_attrs?: (openrtb.CreativeAttribute[]|null); /** BannerExtensions additional_dimensions */ additional_dimensions?: (openrtb.IDimension[]|null); /** BannerExtensions rewarded */ rewarded?: (boolean|null); } /** Represents a BannerExtensions. */ class BannerExtensions implements IBannerExtensions { /** * Constructs a new BannerExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IBannerExtensions); /** BannerExtensions bapis. */ public bapis: openrtb.Enums.BidRequest.Impression.ApiFramework[]; /** BannerExtensions required_attrs. */ public required_attrs: openrtb.CreativeAttribute[]; /** BannerExtensions additional_dimensions. */ public additional_dimensions: openrtb.IDimension[]; /** BannerExtensions rewarded. */ public rewarded: boolean; /** * Creates a new BannerExtensions instance using the specified properties. * @param [properties] Properties to set * @returns BannerExtensions instance */ public static create(properties?: openrtb.IBannerExtensions): openrtb.BannerExtensions; /** * Encodes the specified BannerExtensions message. Does not implicitly {@link openrtb.BannerExtensions.verify|verify} messages. * @param message BannerExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IBannerExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BannerExtensions message, length delimited. Does not implicitly {@link openrtb.BannerExtensions.verify|verify} messages. * @param message BannerExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IBannerExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BannerExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BannerExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BannerExtensions; /** * Decodes a BannerExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BannerExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BannerExtensions; /** * Verifies a BannerExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BannerExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BannerExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.BannerExtensions; /** * Creates a plain object from a BannerExtensions message. Also converts values to other types if specified. * @param message BannerExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BannerExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BannerExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a VideoExtensions. */ interface IVideoExtensions { /** VideoExtensions player_size */ player_size?: (string|null); /** VideoExtensions required_attrs */ required_attrs?: (openrtb.CreativeAttribute[]|null); /** VideoExtensions placement_type */ placement_type?: (openrtb.VideoExtensions.PlacementType|null); /** VideoExtensions skip_offset */ skip_offset?: (number|null); /** VideoExtensions rewarded */ rewarded?: (boolean|null); } /** Represents a VideoExtensions. */ class VideoExtensions implements IVideoExtensions { /** * Constructs a new VideoExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IVideoExtensions); /** VideoExtensions player_size. */ public player_size: string; /** VideoExtensions required_attrs. */ public required_attrs: openrtb.CreativeAttribute[]; /** VideoExtensions placement_type. */ public placement_type: openrtb.VideoExtensions.PlacementType; /** VideoExtensions skip_offset. */ public skip_offset: number; /** VideoExtensions rewarded. */ public rewarded: boolean; /** * Creates a new VideoExtensions instance using the specified properties. * @param [properties] Properties to set * @returns VideoExtensions instance */ public static create(properties?: openrtb.IVideoExtensions): openrtb.VideoExtensions; /** * Encodes the specified VideoExtensions message. Does not implicitly {@link openrtb.VideoExtensions.verify|verify} messages. * @param message VideoExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IVideoExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VideoExtensions message, length delimited. Does not implicitly {@link openrtb.VideoExtensions.verify|verify} messages. * @param message VideoExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IVideoExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VideoExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VideoExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.VideoExtensions; /** * Decodes a VideoExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VideoExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.VideoExtensions; /** * Verifies a VideoExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VideoExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VideoExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.VideoExtensions; /** * Creates a plain object from a VideoExtensions message. Also converts values to other types if specified. * @param message VideoExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.VideoExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VideoExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace VideoExtensions { /** PlacementType enum. */ enum PlacementType { IN_BANNER = 0, IN_STREAM = 1 } } /** Properties of a NativeExtensions. */ interface INativeExtensions { /** NativeExtensions samsung */ samsung?: (openrtb.ISamsungNativeExtension|null); } /** Represents a NativeExtensions. */ class NativeExtensions implements INativeExtensions { /** * Constructs a new NativeExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.INativeExtensions); /** NativeExtensions samsung. */ public samsung?: (openrtb.ISamsungNativeExtension|null); /** * Creates a new NativeExtensions instance using the specified properties. * @param [properties] Properties to set * @returns NativeExtensions instance */ public static create(properties?: openrtb.INativeExtensions): openrtb.NativeExtensions; /** * Encodes the specified NativeExtensions message. Does not implicitly {@link openrtb.NativeExtensions.verify|verify} messages. * @param message NativeExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.INativeExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NativeExtensions message, length delimited. Does not implicitly {@link openrtb.NativeExtensions.verify|verify} messages. * @param message NativeExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.INativeExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NativeExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NativeExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.NativeExtensions; /** * Decodes a NativeExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NativeExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.NativeExtensions; /** * Verifies a NativeExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NativeExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NativeExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.NativeExtensions; /** * Creates a plain object from a NativeExtensions message. Also converts values to other types if specified. * @param message NativeExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.NativeExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NativeExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PMPExtensions. */ interface IPMPExtensions { } /** Represents a PMPExtensions. */ class PMPExtensions implements IPMPExtensions { /** * Constructs a new PMPExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IPMPExtensions); /** * Creates a new PMPExtensions instance using the specified properties. * @param [properties] Properties to set * @returns PMPExtensions instance */ public static create(properties?: openrtb.IPMPExtensions): openrtb.PMPExtensions; /** * Encodes the specified PMPExtensions message. Does not implicitly {@link openrtb.PMPExtensions.verify|verify} messages. * @param message PMPExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IPMPExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PMPExtensions message, length delimited. Does not implicitly {@link openrtb.PMPExtensions.verify|verify} messages. * @param message PMPExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IPMPExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PMPExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PMPExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.PMPExtensions; /** * Decodes a PMPExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PMPExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.PMPExtensions; /** * Verifies a PMPExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PMPExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PMPExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.PMPExtensions; /** * Creates a plain object from a PMPExtensions message. Also converts values to other types if specified. * @param message PMPExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.PMPExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PMPExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DirectDealExtensions. */ interface IDirectDealExtensions { /** DirectDealExtensions adx */ adx?: (openrtb.IAdxDirectDealExtension|null); } /** Represents a DirectDealExtensions. */ class DirectDealExtensions implements IDirectDealExtensions { /** * Constructs a new DirectDealExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IDirectDealExtensions); /** DirectDealExtensions adx. */ public adx?: (openrtb.IAdxDirectDealExtension|null); /** * Creates a new DirectDealExtensions instance using the specified properties. * @param [properties] Properties to set * @returns DirectDealExtensions instance */ public static create(properties?: openrtb.IDirectDealExtensions): openrtb.DirectDealExtensions; /** * Encodes the specified DirectDealExtensions message. Does not implicitly {@link openrtb.DirectDealExtensions.verify|verify} messages. * @param message DirectDealExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IDirectDealExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DirectDealExtensions message, length delimited. Does not implicitly {@link openrtb.DirectDealExtensions.verify|verify} messages. * @param message DirectDealExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IDirectDealExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DirectDealExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DirectDealExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.DirectDealExtensions; /** * Decodes a DirectDealExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DirectDealExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.DirectDealExtensions; /** * Verifies a DirectDealExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DirectDealExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DirectDealExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.DirectDealExtensions; /** * Creates a plain object from a DirectDealExtensions message. Also converts values to other types if specified. * @param message DirectDealExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.DirectDealExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DirectDealExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SiteExtensions. */ interface ISiteExtensions { } /** Represents a SiteExtensions. */ class SiteExtensions implements ISiteExtensions { /** * Constructs a new SiteExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.ISiteExtensions); /** * Creates a new SiteExtensions instance using the specified properties. * @param [properties] Properties to set * @returns SiteExtensions instance */ public static create(properties?: openrtb.ISiteExtensions): openrtb.SiteExtensions; /** * Encodes the specified SiteExtensions message. Does not implicitly {@link openrtb.SiteExtensions.verify|verify} messages. * @param message SiteExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.ISiteExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SiteExtensions message, length delimited. Does not implicitly {@link openrtb.SiteExtensions.verify|verify} messages. * @param message SiteExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.ISiteExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SiteExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SiteExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.SiteExtensions; /** * Decodes a SiteExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SiteExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.SiteExtensions; /** * Verifies a SiteExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SiteExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SiteExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.SiteExtensions; /** * Creates a plain object from a SiteExtensions message. Also converts values to other types if specified. * @param message SiteExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.SiteExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SiteExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AppExtensions. */ interface IAppExtensions { } /** Represents an AppExtensions. */ class AppExtensions implements IAppExtensions { /** * Constructs a new AppExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IAppExtensions); /** * Creates a new AppExtensions instance using the specified properties. * @param [properties] Properties to set * @returns AppExtensions instance */ public static create(properties?: openrtb.IAppExtensions): openrtb.AppExtensions; /** * Encodes the specified AppExtensions message. Does not implicitly {@link openrtb.AppExtensions.verify|verify} messages. * @param message AppExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IAppExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppExtensions message, length delimited. Does not implicitly {@link openrtb.AppExtensions.verify|verify} messages. * @param message AppExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IAppExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.AppExtensions; /** * Decodes an AppExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.AppExtensions; /** * Verifies an AppExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.AppExtensions; /** * Creates a plain object from an AppExtensions message. Also converts values to other types if specified. * @param message AppExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.AppExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ContentExtensions. */ interface IContentExtensions { } /** Represents a ContentExtensions. */ class ContentExtensions implements IContentExtensions { /** * Constructs a new ContentExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IContentExtensions); /** * Creates a new ContentExtensions instance using the specified properties. * @param [properties] Properties to set * @returns ContentExtensions instance */ public static create(properties?: openrtb.IContentExtensions): openrtb.ContentExtensions; /** * Encodes the specified ContentExtensions message. Does not implicitly {@link openrtb.ContentExtensions.verify|verify} messages. * @param message ContentExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IContentExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContentExtensions message, length delimited. Does not implicitly {@link openrtb.ContentExtensions.verify|verify} messages. * @param message ContentExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IContentExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContentExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContentExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.ContentExtensions; /** * Decodes a ContentExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContentExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.ContentExtensions; /** * Verifies a ContentExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContentExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContentExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.ContentExtensions; /** * Creates a plain object from a ContentExtensions message. Also converts values to other types if specified. * @param message ContentExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.ContentExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContentExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ProducerExtensions. */ interface IProducerExtensions { } /** Represents a ProducerExtensions. */ class ProducerExtensions implements IProducerExtensions { /** * Constructs a new ProducerExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IProducerExtensions); /** * Creates a new ProducerExtensions instance using the specified properties. * @param [properties] Properties to set * @returns ProducerExtensions instance */ public static create(properties?: openrtb.IProducerExtensions): openrtb.ProducerExtensions; /** * Encodes the specified ProducerExtensions message. Does not implicitly {@link openrtb.ProducerExtensions.verify|verify} messages. * @param message ProducerExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IProducerExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProducerExtensions message, length delimited. Does not implicitly {@link openrtb.ProducerExtensions.verify|verify} messages. * @param message ProducerExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IProducerExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProducerExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProducerExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.ProducerExtensions; /** * Decodes a ProducerExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProducerExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.ProducerExtensions; /** * Verifies a ProducerExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProducerExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProducerExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.ProducerExtensions; /** * Creates a plain object from a ProducerExtensions message. Also converts values to other types if specified. * @param message ProducerExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.ProducerExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProducerExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DeviceExtensions. */ interface IDeviceExtensions { /** DeviceExtensions augmented_device_screen_size */ augmented_device_screen_size?: (string|null); /** DeviceExtensions augmented_browser */ augmented_browser?: (string|null); /** DeviceExtensions augmented_browser_version */ augmented_browser_version?: (string|null); /** DeviceExtensions augmented_os */ augmented_os?: (string|null); /** DeviceExtensions augmented_osv */ augmented_osv?: (string|null); /** DeviceExtensions augmented_model */ augmented_model?: (string|null); /** DeviceExtensions augmented_make */ augmented_make?: (string|null); /** DeviceExtensions augmented_devicetype */ augmented_devicetype?: (openrtb.Enums.BidRequest.Device.DeviceType|null); /** DeviceExtensions augmented_carrier */ augmented_carrier?: (string|null); /** DeviceExtensions ip_hashed */ ip_hashed?: (string|null); /** DeviceExtensions ipv6_hashed */ ipv6_hashed?: (string|null); } /** Represents a DeviceExtensions. */ class DeviceExtensions implements IDeviceExtensions { /** * Constructs a new DeviceExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IDeviceExtensions); /** DeviceExtensions augmented_device_screen_size. */ public augmented_device_screen_size: string; /** DeviceExtensions augmented_browser. */ public augmented_browser: string; /** DeviceExtensions augmented_browser_version. */ public augmented_browser_version: string; /** DeviceExtensions augmented_os. */ public augmented_os: string; /** DeviceExtensions augmented_osv. */ public augmented_osv: string; /** DeviceExtensions augmented_model. */ public augmented_model: string; /** DeviceExtensions augmented_make. */ public augmented_make: string; /** DeviceExtensions augmented_devicetype. */ public augmented_devicetype: openrtb.Enums.BidRequest.Device.DeviceType; /** DeviceExtensions augmented_carrier. */ public augmented_carrier: string; /** DeviceExtensions ip_hashed. */ public ip_hashed: string; /** DeviceExtensions ipv6_hashed. */ public ipv6_hashed: string; /** * Creates a new DeviceExtensions instance using the specified properties. * @param [properties] Properties to set * @returns DeviceExtensions instance */ public static create(properties?: openrtb.IDeviceExtensions): openrtb.DeviceExtensions; /** * Encodes the specified DeviceExtensions message. Does not implicitly {@link openrtb.DeviceExtensions.verify|verify} messages. * @param message DeviceExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IDeviceExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceExtensions message, length delimited. Does not implicitly {@link openrtb.DeviceExtensions.verify|verify} messages. * @param message DeviceExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IDeviceExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.DeviceExtensions; /** * Decodes a DeviceExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.DeviceExtensions; /** * Verifies a DeviceExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.DeviceExtensions; /** * Creates a plain object from a DeviceExtensions message. Also converts values to other types if specified. * @param message DeviceExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.DeviceExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a UserExtensions. */ interface IUserExtensions { /** UserExtensions user_id */ user_id?: (string|null); /** UserExtensions user_id_type */ user_id_type?: (openrtb.Enums.BidRequest.User.UserIdType|null); /** UserExtensions matched_user_groups */ matched_user_groups?: (openrtb.UserExtensions.IMatchedUserGroups[]|null); /** UserExtensions cookie_age */ cookie_age?: (number|null); /** UserExtensions user_id_hashed */ user_id_hashed?: (string|null); } /** Represents a UserExtensions. */ class UserExtensions implements IUserExtensions { /** * Constructs a new UserExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IUserExtensions); /** UserExtensions user_id. */ public user_id: string; /** UserExtensions user_id_type. */ public user_id_type: openrtb.Enums.BidRequest.User.UserIdType; /** UserExtensions matched_user_groups. */ public matched_user_groups: openrtb.UserExtensions.IMatchedUserGroups[]; /** UserExtensions cookie_age. */ public cookie_age: number; /** UserExtensions user_id_hashed. */ public user_id_hashed: string; /** * Creates a new UserExtensions instance using the specified properties. * @param [properties] Properties to set * @returns UserExtensions instance */ public static create(properties?: openrtb.IUserExtensions): openrtb.UserExtensions; /** * Encodes the specified UserExtensions message. Does not implicitly {@link openrtb.UserExtensions.verify|verify} messages. * @param message UserExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IUserExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UserExtensions message, length delimited. Does not implicitly {@link openrtb.UserExtensions.verify|verify} messages. * @param message UserExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IUserExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UserExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UserExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.UserExtensions; /** * Decodes a UserExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UserExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.UserExtensions; /** * Verifies a UserExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UserExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UserExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.UserExtensions; /** * Creates a plain object from a UserExtensions message. Also converts values to other types if specified. * @param message UserExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.UserExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UserExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace UserExtensions { /** Properties of a MatchedUserGroups. */ interface IMatchedUserGroups { /** MatchedUserGroups matched_user_ids */ matched_user_ids?: (string[]|null); /** MatchedUserGroups partner_handle */ partner_handle?: (string|null); } /** Represents a MatchedUserGroups. */ class MatchedUserGroups implements IMatchedUserGroups { /** * Constructs a new MatchedUserGroups. * @param [properties] Properties to set */ constructor(properties?: openrtb.UserExtensions.IMatchedUserGroups); /** MatchedUserGroups matched_user_ids. */ public matched_user_ids: string[]; /** MatchedUserGroups partner_handle. */ public partner_handle: string; /** * Creates a new MatchedUserGroups instance using the specified properties. * @param [properties] Properties to set * @returns MatchedUserGroups instance */ public static create(properties?: openrtb.UserExtensions.IMatchedUserGroups): openrtb.UserExtensions.MatchedUserGroups; /** * Encodes the specified MatchedUserGroups message. Does not implicitly {@link openrtb.UserExtensions.MatchedUserGroups.verify|verify} messages. * @param message MatchedUserGroups message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.UserExtensions.IMatchedUserGroups, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MatchedUserGroups message, length delimited. Does not implicitly {@link openrtb.UserExtensions.MatchedUserGroups.verify|verify} messages. * @param message MatchedUserGroups message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.UserExtensions.IMatchedUserGroups, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MatchedUserGroups message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MatchedUserGroups * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.UserExtensions.MatchedUserGroups; /** * Decodes a MatchedUserGroups message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MatchedUserGroups * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.UserExtensions.MatchedUserGroups; /** * Verifies a MatchedUserGroups message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MatchedUserGroups message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MatchedUserGroups */ public static fromObject(object: { [k: string]: any }): openrtb.UserExtensions.MatchedUserGroups; /** * Creates a plain object from a MatchedUserGroups message. Also converts values to other types if specified. * @param message MatchedUserGroups * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.UserExtensions.MatchedUserGroups, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MatchedUserGroups to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Properties of a PublisherExtensions. */ interface IPublisherExtensions { } /** Represents a PublisherExtensions. */ class PublisherExtensions implements IPublisherExtensions { /** * Constructs a new PublisherExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IPublisherExtensions); /** * Creates a new PublisherExtensions instance using the specified properties. * @param [properties] Properties to set * @returns PublisherExtensions instance */ public static create(properties?: openrtb.IPublisherExtensions): openrtb.PublisherExtensions; /** * Encodes the specified PublisherExtensions message. Does not implicitly {@link openrtb.PublisherExtensions.verify|verify} messages. * @param message PublisherExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IPublisherExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PublisherExtensions message, length delimited. Does not implicitly {@link openrtb.PublisherExtensions.verify|verify} messages. * @param message PublisherExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IPublisherExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PublisherExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PublisherExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.PublisherExtensions; /** * Decodes a PublisherExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PublisherExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.PublisherExtensions; /** * Verifies a PublisherExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PublisherExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PublisherExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.PublisherExtensions; /** * Creates a plain object from a PublisherExtensions message. Also converts values to other types if specified. * @param message PublisherExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.PublisherExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PublisherExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a GeoExtensions. */ interface IGeoExtensions { /** GeoExtensions adx */ adx?: (openrtb.IAdxGeoExtension|null); /** GeoExtensions regions */ regions?: (string[]|null); } /** Represents a GeoExtensions. */ class GeoExtensions implements IGeoExtensions { /** * Constructs a new GeoExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IGeoExtensions); /** GeoExtensions adx. */ public adx?: (openrtb.IAdxGeoExtension|null); /** GeoExtensions regions. */ public regions: string[]; /** * Creates a new GeoExtensions instance using the specified properties. * @param [properties] Properties to set * @returns GeoExtensions instance */ public static create(properties?: openrtb.IGeoExtensions): openrtb.GeoExtensions; /** * Encodes the specified GeoExtensions message. Does not implicitly {@link openrtb.GeoExtensions.verify|verify} messages. * @param message GeoExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IGeoExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GeoExtensions message, length delimited. Does not implicitly {@link openrtb.GeoExtensions.verify|verify} messages. * @param message GeoExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IGeoExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GeoExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GeoExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.GeoExtensions; /** * Decodes a GeoExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GeoExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.GeoExtensions; /** * Verifies a GeoExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GeoExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GeoExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.GeoExtensions; /** * Creates a plain object from a GeoExtensions message. Also converts values to other types if specified. * @param message GeoExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.GeoExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GeoExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a DataExtensions. */ interface IDataExtensions { /** DataExtensions beeswax_augmented */ beeswax_augmented?: (boolean|null); } /** Represents a DataExtensions. */ class DataExtensions implements IDataExtensions { /** * Constructs a new DataExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IDataExtensions); /** DataExtensions beeswax_augmented. */ public beeswax_augmented: boolean; /** * Creates a new DataExtensions instance using the specified properties. * @param [properties] Properties to set * @returns DataExtensions instance */ public static create(properties?: openrtb.IDataExtensions): openrtb.DataExtensions; /** * Encodes the specified DataExtensions message. Does not implicitly {@link openrtb.DataExtensions.verify|verify} messages. * @param message DataExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IDataExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DataExtensions message, length delimited. Does not implicitly {@link openrtb.DataExtensions.verify|verify} messages. * @param message DataExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IDataExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DataExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DataExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.DataExtensions; /** * Decodes a DataExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DataExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.DataExtensions; /** * Verifies a DataExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DataExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DataExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.DataExtensions; /** * Creates a plain object from a DataExtensions message. Also converts values to other types if specified. * @param message DataExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.DataExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DataExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SegmentExtensions. */ interface ISegmentExtensions { } /** Represents a SegmentExtensions. */ class SegmentExtensions implements ISegmentExtensions { /** * Constructs a new SegmentExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.ISegmentExtensions); /** * Creates a new SegmentExtensions instance using the specified properties. * @param [properties] Properties to set * @returns SegmentExtensions instance */ public static create(properties?: openrtb.ISegmentExtensions): openrtb.SegmentExtensions; /** * Encodes the specified SegmentExtensions message. Does not implicitly {@link openrtb.SegmentExtensions.verify|verify} messages. * @param message SegmentExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.ISegmentExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SegmentExtensions message, length delimited. Does not implicitly {@link openrtb.SegmentExtensions.verify|verify} messages. * @param message SegmentExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.ISegmentExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SegmentExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SegmentExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.SegmentExtensions; /** * Decodes a SegmentExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SegmentExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.SegmentExtensions; /** * Verifies a SegmentExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SegmentExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SegmentExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.SegmentExtensions; /** * Creates a plain object from a SegmentExtensions message. Also converts values to other types if specified. * @param message SegmentExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.SegmentExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SegmentExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a RegulationsExtensions. */ interface IRegulationsExtensions { /** RegulationsExtensions gdpr */ gdpr?: (openrtb.Flag|null); /** RegulationsExtensions gdpr_consent_string */ gdpr_consent_string?: (string|null); } /** Represents a RegulationsExtensions. */ class RegulationsExtensions implements IRegulationsExtensions { /** * Constructs a new RegulationsExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IRegulationsExtensions); /** RegulationsExtensions gdpr. */ public gdpr: openrtb.Flag; /** RegulationsExtensions gdpr_consent_string. */ public gdpr_consent_string: string; /** * Creates a new RegulationsExtensions instance using the specified properties. * @param [properties] Properties to set * @returns RegulationsExtensions instance */ public static create(properties?: openrtb.IRegulationsExtensions): openrtb.RegulationsExtensions; /** * Encodes the specified RegulationsExtensions message. Does not implicitly {@link openrtb.RegulationsExtensions.verify|verify} messages. * @param message RegulationsExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IRegulationsExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RegulationsExtensions message, length delimited. Does not implicitly {@link openrtb.RegulationsExtensions.verify|verify} messages. * @param message RegulationsExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IRegulationsExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RegulationsExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RegulationsExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.RegulationsExtensions; /** * Decodes a RegulationsExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RegulationsExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.RegulationsExtensions; /** * Verifies a RegulationsExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RegulationsExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RegulationsExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.RegulationsExtensions; /** * Creates a plain object from a RegulationsExtensions message. Also converts values to other types if specified. * @param message RegulationsExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.RegulationsExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RegulationsExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BidResponseExtensions. */ interface IBidResponseExtensions { } /** Represents a BidResponseExtensions. */ class BidResponseExtensions implements IBidResponseExtensions { /** * Constructs a new BidResponseExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IBidResponseExtensions); /** * Creates a new BidResponseExtensions instance using the specified properties. * @param [properties] Properties to set * @returns BidResponseExtensions instance */ public static create(properties?: openrtb.IBidResponseExtensions): openrtb.BidResponseExtensions; /** * Encodes the specified BidResponseExtensions message. Does not implicitly {@link openrtb.BidResponseExtensions.verify|verify} messages. * @param message BidResponseExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IBidResponseExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BidResponseExtensions message, length delimited. Does not implicitly {@link openrtb.BidResponseExtensions.verify|verify} messages. * @param message BidResponseExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IBidResponseExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BidResponseExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BidResponseExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidResponseExtensions; /** * Decodes a BidResponseExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BidResponseExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidResponseExtensions; /** * Verifies a BidResponseExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BidResponseExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BidResponseExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.BidResponseExtensions; /** * Creates a plain object from a BidResponseExtensions message. Also converts values to other types if specified. * @param message BidResponseExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidResponseExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BidResponseExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SeatBidExtensions. */ interface ISeatBidExtensions { } /** Represents a SeatBidExtensions. */ class SeatBidExtensions implements ISeatBidExtensions { /** * Constructs a new SeatBidExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.ISeatBidExtensions); /** * Creates a new SeatBidExtensions instance using the specified properties. * @param [properties] Properties to set * @returns SeatBidExtensions instance */ public static create(properties?: openrtb.ISeatBidExtensions): openrtb.SeatBidExtensions; /** * Encodes the specified SeatBidExtensions message. Does not implicitly {@link openrtb.SeatBidExtensions.verify|verify} messages. * @param message SeatBidExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.ISeatBidExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SeatBidExtensions message, length delimited. Does not implicitly {@link openrtb.SeatBidExtensions.verify|verify} messages. * @param message SeatBidExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.ISeatBidExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SeatBidExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SeatBidExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.SeatBidExtensions; /** * Decodes a SeatBidExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SeatBidExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.SeatBidExtensions; /** * Verifies a SeatBidExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SeatBidExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SeatBidExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.SeatBidExtensions; /** * Creates a plain object from a SeatBidExtensions message. Also converts values to other types if specified. * @param message SeatBidExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.SeatBidExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SeatBidExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BidExtensions. */ interface IBidExtensions { } /** Represents a BidExtensions. */ class BidExtensions implements IBidExtensions { /** * Constructs a new BidExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IBidExtensions); /** * Creates a new BidExtensions instance using the specified properties. * @param [properties] Properties to set * @returns BidExtensions instance */ public static create(properties?: openrtb.IBidExtensions): openrtb.BidExtensions; /** * Encodes the specified BidExtensions message. Does not implicitly {@link openrtb.BidExtensions.verify|verify} messages. * @param message BidExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IBidExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BidExtensions message, length delimited. Does not implicitly {@link openrtb.BidExtensions.verify|verify} messages. * @param message BidExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IBidExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BidExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BidExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidExtensions; /** * Decodes a BidExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BidExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidExtensions; /** * Verifies a BidExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BidExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BidExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.BidExtensions; /** * Creates a plain object from a BidExtensions message. Also converts values to other types if specified. * @param message BidExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BidExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a TargetingGeoExtension. */ interface ITargetingGeoExtension { /** TargetingGeoExtension country */ country?: (string|null); /** TargetingGeoExtension region */ region?: (string|null); /** TargetingGeoExtension regions */ regions?: (string[]|null); /** TargetingGeoExtension city */ city?: (string|null); /** TargetingGeoExtension zip */ zip?: (string|null); /** TargetingGeoExtension metro */ metro?: (string|null); /** TargetingGeoExtension lat_long_present */ lat_long_present?: (boolean|null); /** TargetingGeoExtension lat */ lat?: (number|null); /** TargetingGeoExtension lon */ lon?: (number|null); /** TargetingGeoExtension type */ type?: (openrtb.Enums.BidRequest.Geo.LocationType|null); } /** Represents a TargetingGeoExtension. */ class TargetingGeoExtension implements ITargetingGeoExtension { /** * Constructs a new TargetingGeoExtension. * @param [properties] Properties to set */ constructor(properties?: openrtb.ITargetingGeoExtension); /** TargetingGeoExtension country. */ public country: string; /** TargetingGeoExtension region. */ public region: string; /** TargetingGeoExtension regions. */ public regions: string[]; /** TargetingGeoExtension city. */ public city: string; /** TargetingGeoExtension zip. */ public zip: string; /** TargetingGeoExtension metro. */ public metro: string; /** TargetingGeoExtension lat_long_present. */ public lat_long_present: boolean; /** TargetingGeoExtension lat. */ public lat: number; /** TargetingGeoExtension lon. */ public lon: number; /** TargetingGeoExtension type. */ public type: openrtb.Enums.BidRequest.Geo.LocationType; /** * Creates a new TargetingGeoExtension instance using the specified properties. * @param [properties] Properties to set * @returns TargetingGeoExtension instance */ public static create(properties?: openrtb.ITargetingGeoExtension): openrtb.TargetingGeoExtension; /** * Encodes the specified TargetingGeoExtension message. Does not implicitly {@link openrtb.TargetingGeoExtension.verify|verify} messages. * @param message TargetingGeoExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.ITargetingGeoExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TargetingGeoExtension message, length delimited. Does not implicitly {@link openrtb.TargetingGeoExtension.verify|verify} messages. * @param message TargetingGeoExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.ITargetingGeoExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TargetingGeoExtension message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TargetingGeoExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.TargetingGeoExtension; /** * Decodes a TargetingGeoExtension message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TargetingGeoExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.TargetingGeoExtension; /** * Verifies a TargetingGeoExtension message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TargetingGeoExtension message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TargetingGeoExtension */ public static fromObject(object: { [k: string]: any }): openrtb.TargetingGeoExtension; /** * Creates a plain object from a TargetingGeoExtension message. Also converts values to other types if specified. * @param message TargetingGeoExtension * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.TargetingGeoExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TargetingGeoExtension to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a ViewabilityExtensions. */ interface IViewabilityExtensions { /** ViewabilityExtensions predicted_viewability */ predicted_viewability?: (number|null); /** ViewabilityExtensions exchange_predicted_view_rate */ exchange_predicted_view_rate?: (number|null); } /** Represents a ViewabilityExtensions. */ class ViewabilityExtensions implements IViewabilityExtensions { /** * Constructs a new ViewabilityExtensions. * @param [properties] Properties to set */ constructor(properties?: openrtb.IViewabilityExtensions); /** ViewabilityExtensions predicted_viewability. */ public predicted_viewability: number; /** ViewabilityExtensions exchange_predicted_view_rate. */ public exchange_predicted_view_rate: number; /** * Creates a new ViewabilityExtensions instance using the specified properties. * @param [properties] Properties to set * @returns ViewabilityExtensions instance */ public static create(properties?: openrtb.IViewabilityExtensions): openrtb.ViewabilityExtensions; /** * Encodes the specified ViewabilityExtensions message. Does not implicitly {@link openrtb.ViewabilityExtensions.verify|verify} messages. * @param message ViewabilityExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IViewabilityExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ViewabilityExtensions message, length delimited. Does not implicitly {@link openrtb.ViewabilityExtensions.verify|verify} messages. * @param message ViewabilityExtensions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IViewabilityExtensions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ViewabilityExtensions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ViewabilityExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.ViewabilityExtensions; /** * Decodes a ViewabilityExtensions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ViewabilityExtensions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.ViewabilityExtensions; /** * Verifies a ViewabilityExtensions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ViewabilityExtensions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ViewabilityExtensions */ public static fromObject(object: { [k: string]: any }): openrtb.ViewabilityExtensions; /** * Creates a plain object from a ViewabilityExtensions message. Also converts values to other types if specified. * @param message ViewabilityExtensions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.ViewabilityExtensions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ViewabilityExtensions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AdxBidRequestExtension. */ interface IAdxBidRequestExtension { /** AdxBidRequestExtension is_predicted_to_be_ignored */ is_predicted_to_be_ignored?: (boolean|null); /** AdxBidRequestExtension timezone_offset */ timezone_offset?: (number|null); } /** Represents an AdxBidRequestExtension. */ class AdxBidRequestExtension implements IAdxBidRequestExtension { /** * Constructs a new AdxBidRequestExtension. * @param [properties] Properties to set */ constructor(properties?: openrtb.IAdxBidRequestExtension); /** AdxBidRequestExtension is_predicted_to_be_ignored. */ public is_predicted_to_be_ignored: boolean; /** AdxBidRequestExtension timezone_offset. */ public timezone_offset: number; /** * Creates a new AdxBidRequestExtension instance using the specified properties. * @param [properties] Properties to set * @returns AdxBidRequestExtension instance */ public static create(properties?: openrtb.IAdxBidRequestExtension): openrtb.AdxBidRequestExtension; /** * Encodes the specified AdxBidRequestExtension message. Does not implicitly {@link openrtb.AdxBidRequestExtension.verify|verify} messages. * @param message AdxBidRequestExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IAdxBidRequestExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdxBidRequestExtension message, length delimited. Does not implicitly {@link openrtb.AdxBidRequestExtension.verify|verify} messages. * @param message AdxBidRequestExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IAdxBidRequestExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdxBidRequestExtension message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdxBidRequestExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.AdxBidRequestExtension; /** * Decodes an AdxBidRequestExtension message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdxBidRequestExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.AdxBidRequestExtension; /** * Verifies an AdxBidRequestExtension message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdxBidRequestExtension message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdxBidRequestExtension */ public static fromObject(object: { [k: string]: any }): openrtb.AdxBidRequestExtension; /** * Creates a plain object from an AdxBidRequestExtension message. Also converts values to other types if specified. * @param message AdxBidRequestExtension * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.AdxBidRequestExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdxBidRequestExtension to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AdxDirectDealExtension. */ interface IAdxDirectDealExtension { /** AdxDirectDealExtension publisher_blocks_overridden */ publisher_blocks_overridden?: (boolean|null); } /** Represents an AdxDirectDealExtension. */ class AdxDirectDealExtension implements IAdxDirectDealExtension { /** * Constructs a new AdxDirectDealExtension. * @param [properties] Properties to set */ constructor(properties?: openrtb.IAdxDirectDealExtension); /** AdxDirectDealExtension publisher_blocks_overridden. */ public publisher_blocks_overridden: boolean; /** * Creates a new AdxDirectDealExtension instance using the specified properties. * @param [properties] Properties to set * @returns AdxDirectDealExtension instance */ public static create(properties?: openrtb.IAdxDirectDealExtension): openrtb.AdxDirectDealExtension; /** * Encodes the specified AdxDirectDealExtension message. Does not implicitly {@link openrtb.AdxDirectDealExtension.verify|verify} messages. * @param message AdxDirectDealExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IAdxDirectDealExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdxDirectDealExtension message, length delimited. Does not implicitly {@link openrtb.AdxDirectDealExtension.verify|verify} messages. * @param message AdxDirectDealExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IAdxDirectDealExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdxDirectDealExtension message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdxDirectDealExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.AdxDirectDealExtension; /** * Decodes an AdxDirectDealExtension message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdxDirectDealExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.AdxDirectDealExtension; /** * Verifies an AdxDirectDealExtension message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdxDirectDealExtension message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdxDirectDealExtension */ public static fromObject(object: { [k: string]: any }): openrtb.AdxDirectDealExtension; /** * Creates a plain object from an AdxDirectDealExtension message. Also converts values to other types if specified. * @param message AdxDirectDealExtension * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.AdxDirectDealExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdxDirectDealExtension to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AdxImpressionExtension. */ interface IAdxImpressionExtension { /** AdxImpressionExtension adslot_id */ adslot_id?: (number|null); /** AdxImpressionExtension click_through_rate */ click_through_rate?: (number|null); /** AdxImpressionExtension allowed_vendor_type */ allowed_vendor_type?: (number[]|null); /** AdxImpressionExtension consented_providers */ consented_providers?: ((number|Long)[]|null); } /** Represents an AdxImpressionExtension. */ class AdxImpressionExtension implements IAdxImpressionExtension { /** * Constructs a new AdxImpressionExtension. * @param [properties] Properties to set */ constructor(properties?: openrtb.IAdxImpressionExtension); /** AdxImpressionExtension adslot_id. */ public adslot_id: number; /** AdxImpressionExtension click_through_rate. */ public click_through_rate: number; /** AdxImpressionExtension allowed_vendor_type. */ public allowed_vendor_type: number[]; /** AdxImpressionExtension consented_providers. */ public consented_providers: (number|Long)[]; /** * Creates a new AdxImpressionExtension instance using the specified properties. * @param [properties] Properties to set * @returns AdxImpressionExtension instance */ public static create(properties?: openrtb.IAdxImpressionExtension): openrtb.AdxImpressionExtension; /** * Encodes the specified AdxImpressionExtension message. Does not implicitly {@link openrtb.AdxImpressionExtension.verify|verify} messages. * @param message AdxImpressionExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IAdxImpressionExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdxImpressionExtension message, length delimited. Does not implicitly {@link openrtb.AdxImpressionExtension.verify|verify} messages. * @param message AdxImpressionExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IAdxImpressionExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdxImpressionExtension message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdxImpressionExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.AdxImpressionExtension; /** * Decodes an AdxImpressionExtension message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdxImpressionExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.AdxImpressionExtension; /** * Verifies an AdxImpressionExtension message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdxImpressionExtension message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdxImpressionExtension */ public static fromObject(object: { [k: string]: any }): openrtb.AdxImpressionExtension; /** * Creates a plain object from an AdxImpressionExtension message. Also converts values to other types if specified. * @param message AdxImpressionExtension * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.AdxImpressionExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdxImpressionExtension to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SamsungNativeExtension. */ interface ISamsungNativeExtension { /** SamsungNativeExtension native */ native?: (string|null); } /** Represents a SamsungNativeExtension. */ class SamsungNativeExtension implements ISamsungNativeExtension { /** * Constructs a new SamsungNativeExtension. * @param [properties] Properties to set */ constructor(properties?: openrtb.ISamsungNativeExtension); /** SamsungNativeExtension native. */ public native: string; /** * Creates a new SamsungNativeExtension instance using the specified properties. * @param [properties] Properties to set * @returns SamsungNativeExtension instance */ public static create(properties?: openrtb.ISamsungNativeExtension): openrtb.SamsungNativeExtension; /** * Encodes the specified SamsungNativeExtension message. Does not implicitly {@link openrtb.SamsungNativeExtension.verify|verify} messages. * @param message SamsungNativeExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.ISamsungNativeExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SamsungNativeExtension message, length delimited. Does not implicitly {@link openrtb.SamsungNativeExtension.verify|verify} messages. * @param message SamsungNativeExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.ISamsungNativeExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SamsungNativeExtension message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SamsungNativeExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.SamsungNativeExtension; /** * Decodes a SamsungNativeExtension message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SamsungNativeExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.SamsungNativeExtension; /** * Verifies a SamsungNativeExtension message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SamsungNativeExtension message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SamsungNativeExtension */ public static fromObject(object: { [k: string]: any }): openrtb.SamsungNativeExtension; /** * Creates a plain object from a SamsungNativeExtension message. Also converts values to other types if specified. * @param message SamsungNativeExtension * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.SamsungNativeExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SamsungNativeExtension to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AdxGeoExtension. */ interface IAdxGeoExtension { /** AdxGeoExtension dma_region_code */ dma_region_code?: (number|null); /** AdxGeoExtension hyperlocal_set */ hyperlocal_set?: (Uint8Array|null); } /** Represents an AdxGeoExtension. */ class AdxGeoExtension implements IAdxGeoExtension { /** * Constructs a new AdxGeoExtension. * @param [properties] Properties to set */ constructor(properties?: openrtb.IAdxGeoExtension); /** AdxGeoExtension dma_region_code. */ public dma_region_code: number; /** AdxGeoExtension hyperlocal_set. */ public hyperlocal_set: Uint8Array; /** * Creates a new AdxGeoExtension instance using the specified properties. * @param [properties] Properties to set * @returns AdxGeoExtension instance */ public static create(properties?: openrtb.IAdxGeoExtension): openrtb.AdxGeoExtension; /** * Encodes the specified AdxGeoExtension message. Does not implicitly {@link openrtb.AdxGeoExtension.verify|verify} messages. * @param message AdxGeoExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IAdxGeoExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdxGeoExtension message, length delimited. Does not implicitly {@link openrtb.AdxGeoExtension.verify|verify} messages. * @param message AdxGeoExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IAdxGeoExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdxGeoExtension message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdxGeoExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.AdxGeoExtension; /** * Decodes an AdxGeoExtension message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdxGeoExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.AdxGeoExtension; /** * Verifies an AdxGeoExtension message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdxGeoExtension message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdxGeoExtension */ public static fromObject(object: { [k: string]: any }): openrtb.AdxGeoExtension; /** * Creates a plain object from an AdxGeoExtension message. Also converts values to other types if specified. * @param message AdxGeoExtension * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.AdxGeoExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdxGeoExtension to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an AppNexusBidRequestExtension. */ interface IAppNexusBidRequestExtension { /** AppNexusBidRequestExtension seller_member_id */ seller_member_id?: (number|null); } /** Represents an AppNexusBidRequestExtension. */ class AppNexusBidRequestExtension implements IAppNexusBidRequestExtension { /** * Constructs a new AppNexusBidRequestExtension. * @param [properties] Properties to set */ constructor(properties?: openrtb.IAppNexusBidRequestExtension); /** AppNexusBidRequestExtension seller_member_id. */ public seller_member_id: number; /** * Creates a new AppNexusBidRequestExtension instance using the specified properties. * @param [properties] Properties to set * @returns AppNexusBidRequestExtension instance */ public static create(properties?: openrtb.IAppNexusBidRequestExtension): openrtb.AppNexusBidRequestExtension; /** * Encodes the specified AppNexusBidRequestExtension message. Does not implicitly {@link openrtb.AppNexusBidRequestExtension.verify|verify} messages. * @param message AppNexusBidRequestExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IAppNexusBidRequestExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppNexusBidRequestExtension message, length delimited. Does not implicitly {@link openrtb.AppNexusBidRequestExtension.verify|verify} messages. * @param message AppNexusBidRequestExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IAppNexusBidRequestExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppNexusBidRequestExtension message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppNexusBidRequestExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.AppNexusBidRequestExtension; /** * Decodes an AppNexusBidRequestExtension message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppNexusBidRequestExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.AppNexusBidRequestExtension; /** * Verifies an AppNexusBidRequestExtension message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppNexusBidRequestExtension message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppNexusBidRequestExtension */ public static fromObject(object: { [k: string]: any }): openrtb.AppNexusBidRequestExtension; /** * Creates a plain object from an AppNexusBidRequestExtension message. Also converts values to other types if specified. * @param message AppNexusBidRequestExtension * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.AppNexusBidRequestExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppNexusBidRequestExtension to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SeatConstraintsExtension. */ interface ISeatConstraintsExtension { /** SeatConstraintsExtension default_seat_constraint */ default_seat_constraint?: (openrtb.ISeatConstraints|null); /** SeatConstraintsExtension account_seat_constraints */ account_seat_constraints?: ({ [k: string]: openrtb.ISeatConstraints }|null); } /** Represents a SeatConstraintsExtension. */ class SeatConstraintsExtension implements ISeatConstraintsExtension { /** * Constructs a new SeatConstraintsExtension. * @param [properties] Properties to set */ constructor(properties?: openrtb.ISeatConstraintsExtension); /** SeatConstraintsExtension default_seat_constraint. */ public default_seat_constraint?: (openrtb.ISeatConstraints|null); /** SeatConstraintsExtension account_seat_constraints. */ public account_seat_constraints: { [k: string]: openrtb.ISeatConstraints }; /** * Creates a new SeatConstraintsExtension instance using the specified properties. * @param [properties] Properties to set * @returns SeatConstraintsExtension instance */ public static create(properties?: openrtb.ISeatConstraintsExtension): openrtb.SeatConstraintsExtension; /** * Encodes the specified SeatConstraintsExtension message. Does not implicitly {@link openrtb.SeatConstraintsExtension.verify|verify} messages. * @param message SeatConstraintsExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.ISeatConstraintsExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SeatConstraintsExtension message, length delimited. Does not implicitly {@link openrtb.SeatConstraintsExtension.verify|verify} messages. * @param message SeatConstraintsExtension message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.ISeatConstraintsExtension, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SeatConstraintsExtension message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SeatConstraintsExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.SeatConstraintsExtension; /** * Decodes a SeatConstraintsExtension message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SeatConstraintsExtension * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.SeatConstraintsExtension; /** * Verifies a SeatConstraintsExtension message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SeatConstraintsExtension message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SeatConstraintsExtension */ public static fromObject(object: { [k: string]: any }): openrtb.SeatConstraintsExtension; /** * Creates a plain object from a SeatConstraintsExtension message. Also converts values to other types if specified. * @param message SeatConstraintsExtension * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.SeatConstraintsExtension, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SeatConstraintsExtension to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SeatConstraints. */ interface ISeatConstraints { /** SeatConstraints bid_floor_micros */ bid_floor_micros?: (number|Long|null); } /** Represents a SeatConstraints. */ class SeatConstraints implements ISeatConstraints { /** * Constructs a new SeatConstraints. * @param [properties] Properties to set */ constructor(properties?: openrtb.ISeatConstraints); /** SeatConstraints bid_floor_micros. */ public bid_floor_micros: (number|Long); /** * Creates a new SeatConstraints instance using the specified properties. * @param [properties] Properties to set * @returns SeatConstraints instance */ public static create(properties?: openrtb.ISeatConstraints): openrtb.SeatConstraints; /** * Encodes the specified SeatConstraints message. Does not implicitly {@link openrtb.SeatConstraints.verify|verify} messages. * @param message SeatConstraints message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.ISeatConstraints, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SeatConstraints message, length delimited. Does not implicitly {@link openrtb.SeatConstraints.verify|verify} messages. * @param message SeatConstraints message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.ISeatConstraints, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SeatConstraints message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SeatConstraints * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.SeatConstraints; /** * Decodes a SeatConstraints message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SeatConstraints * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.SeatConstraints; /** * Verifies a SeatConstraints message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SeatConstraints message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SeatConstraints */ public static fromObject(object: { [k: string]: any }): openrtb.SeatConstraints; /** * Creates a plain object from a SeatConstraints message. Also converts values to other types if specified. * @param message SeatConstraints * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.SeatConstraints, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SeatConstraints to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a BidRequest. */ interface IBidRequest { /** BidRequest id */ id: string; /** BidRequest imp */ imp?: (openrtb.BidRequest.IImpression[]|null); /** BidRequest site */ site?: (openrtb.BidRequest.ISite|null); /** BidRequest app */ app?: (openrtb.BidRequest.IApp|null); /** BidRequest device */ device?: (openrtb.BidRequest.IDevice|null); /** BidRequest user */ user?: (openrtb.BidRequest.IUser|null); /** * Indicator of test mode in which auctions are not billable, * where 0 = live mode, 1 = test mode. */ test?: (boolean|null); /** BidRequest at */ at?: (number|null); /** BidRequest tmax */ tmax?: (number|null); /** BidRequest wseat */ wseat?: (string[]|null); /** BidRequest allimps */ allimps?: (openrtb.Flag|null); /** BidRequest cur */ cur?: (string[]|null); /** BidRequest bcat */ bcat?: (string[]|null); /** BidRequest badv */ badv?: (string[]|null); /** BidRequest bapp */ bapp?: (string[]|null); /** BidRequest regs */ regs?: (openrtb.BidRequest.IRegulations|null); /** BidRequest source */ source?: (openrtb.BidRequest.ISource|null); /** BidRequest ext */ ext?: (openrtb.IBidRequestExtensions|null); } /** Represents a BidRequest. */ class BidRequest implements IBidRequest { /** * Constructs a new BidRequest. * @param [properties] Properties to set */ constructor(properties?: openrtb.IBidRequest); /** BidRequest id. */ public id: string; /** BidRequest imp. */ public imp: openrtb.BidRequest.IImpression[]; /** BidRequest site. */ public site?: (openrtb.BidRequest.ISite|null); /** BidRequest app. */ public app?: (openrtb.BidRequest.IApp|null); /** BidRequest device. */ public device?: (openrtb.BidRequest.IDevice|null); /** BidRequest user. */ public user?: (openrtb.BidRequest.IUser|null); /** * Indicator of test mode in which auctions are not billable, * where 0 = live mode, 1 = test mode. */ public test: boolean; /** BidRequest at. */ public at: number; /** BidRequest tmax. */ public tmax: number; /** BidRequest wseat. */ public wseat: string[]; /** BidRequest allimps. */ public allimps: openrtb.Flag; /** BidRequest cur. */ public cur: string[]; /** BidRequest bcat. */ public bcat: string[]; /** BidRequest badv. */ public badv: string[]; /** BidRequest bapp. */ public bapp: string[]; /** BidRequest regs. */ public regs?: (openrtb.BidRequest.IRegulations|null); /** BidRequest source. */ public source?: (openrtb.BidRequest.ISource|null); /** BidRequest ext. */ public ext?: (openrtb.IBidRequestExtensions|null); /** * Creates a new BidRequest instance using the specified properties. * @param [properties] Properties to set * @returns BidRequest instance */ public static create(properties?: openrtb.IBidRequest): openrtb.BidRequest; /** * Encodes the specified BidRequest message. Does not implicitly {@link openrtb.BidRequest.verify|verify} messages. * @param message BidRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IBidRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BidRequest message, length delimited. Does not implicitly {@link openrtb.BidRequest.verify|verify} messages. * @param message BidRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IBidRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BidRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BidRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest; /** * Decodes a BidRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BidRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest; /** * Verifies a BidRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BidRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BidRequest */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest; /** * Creates a plain object from a BidRequest message. Also converts values to other types if specified. * @param message BidRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BidRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace BidRequest { /** Properties of a Source. */ interface ISource { /** Source fd */ fd?: (boolean|null); /** Source tid */ tid?: (string|null); /** Source pchain */ pchain?: (string|null); } /** Represents a Source. */ class Source implements ISource { /** * Constructs a new Source. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.ISource); /** Source fd. */ public fd: boolean; /** Source tid. */ public tid: string; /** Source pchain. */ public pchain: string; /** * Creates a new Source instance using the specified properties. * @param [properties] Properties to set * @returns Source instance */ public static create(properties?: openrtb.BidRequest.ISource): openrtb.BidRequest.Source; /** * Encodes the specified Source message. Does not implicitly {@link openrtb.BidRequest.Source.verify|verify} messages. * @param message Source message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.ISource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Source message, length delimited. Does not implicitly {@link openrtb.BidRequest.Source.verify|verify} messages. * @param message Source message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.ISource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Source message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Source * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Source; /** * Decodes a Source message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Source * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Source; /** * Verifies a Source message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Source message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Source */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Source; /** * Creates a plain object from a Source message. Also converts values to other types if specified. * @param message Source * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Source, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Source to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Impression. */ interface IImpression { /** Impression id */ id: string; /** Impression banner */ banner?: (openrtb.BidRequest.Impression.IBanner|null); /** Impression video */ video?: (openrtb.BidRequest.Impression.IVideo|null); /** * A Native object (Section 3.2.5); required if this impression is * offered as a native ad opportunity. */ native?: (openrtb.BidRequest.Impression.INative|null); /** Impression displaymanager */ displaymanager?: (string|null); /** Impression displaymanagerver */ displaymanagerver?: (string|null); /** Impression instl */ instl?: (openrtb.Flag|null); /** Impression tagid */ tagid?: (string|null); /** Impression bidfloor */ bidfloor?: (number|null); /** Impression bidfloorcur */ bidfloorcur?: (string|null); /** Impression clickbrowser */ clickbrowser?: (boolean|null); /** Impression iframebuster */ iframebuster?: (string[]|null); /** Impression pmp */ pmp?: (openrtb.BidRequest.Impression.IPMP|null); /** Impression secure */ secure?: (number|null); /** Impression exp */ exp?: (number|null); /** Impression ext */ ext?: (openrtb.IImpressionExtensions|null); } /** Represents an Impression. */ class Impression implements IImpression { /** * Constructs a new Impression. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.IImpression); /** Impression id. */ public id: string; /** Impression banner. */ public banner?: (openrtb.BidRequest.Impression.IBanner|null); /** Impression video. */ public video?: (openrtb.BidRequest.Impression.IVideo|null); /** * A Native object (Section 3.2.5); required if this impression is * offered as a native ad opportunity. */ public native?: (openrtb.BidRequest.Impression.INative|null); /** Impression displaymanager. */ public displaymanager: string; /** Impression displaymanagerver. */ public displaymanagerver: string; /** Impression instl. */ public instl: openrtb.Flag; /** Impression tagid. */ public tagid: string; /** Impression bidfloor. */ public bidfloor: number; /** Impression bidfloorcur. */ public bidfloorcur: string; /** Impression clickbrowser. */ public clickbrowser: boolean; /** Impression iframebuster. */ public iframebuster: string[]; /** Impression pmp. */ public pmp?: (openrtb.BidRequest.Impression.IPMP|null); /** Impression secure. */ public secure: number; /** Impression exp. */ public exp: number; /** Impression ext. */ public ext?: (openrtb.IImpressionExtensions|null); /** * Creates a new Impression instance using the specified properties. * @param [properties] Properties to set * @returns Impression instance */ public static create(properties?: openrtb.BidRequest.IImpression): openrtb.BidRequest.Impression; /** * Encodes the specified Impression message. Does not implicitly {@link openrtb.BidRequest.Impression.verify|verify} messages. * @param message Impression message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.IImpression, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Impression message, length delimited. Does not implicitly {@link openrtb.BidRequest.Impression.verify|verify} messages. * @param message Impression message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.IImpression, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Impression message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Impression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Impression; /** * Decodes an Impression message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Impression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Impression; /** * Verifies an Impression message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Impression message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Impression */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Impression; /** * Creates a plain object from an Impression message. Also converts values to other types if specified. * @param message Impression * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Impression, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Impression to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace Impression { /** Properties of a Banner. */ interface IBanner { /** Banner w */ w?: (number|null); /** Banner h */ h?: (number|null); /** * Maximum width of the impression in pixels. If included, it indicates that a range * of sizes is allowed with this maximum width and "w" is taken as recommended. * If not included, then "w" should be considered an exact requirement. */ wmax?: (number|null); /** * Maximum height of the impression in pixels. If included, it indicates that a range * of sizes is allowed with this maximum height and "h" is taken as recommended. * If not included, then "h" should be considered an exact requirement. */ hmax?: (number|null); /** * Minimum width of the impression in pixels. If included, it indicates that a range * of sizes is allowed with this minimum width and "w" is taken as recommended. * If not included, then "w" should be considered an exact requirement. */ wmin?: (number|null); /** * Minumum height of the impression in pixels. If included, it indicates * that a range of sizes is allowed with this minimum height and "h" is * taken as recommended. * If not included, then "h" should be considered an exact requirement. */ hmin?: (number|null); /** Banner id */ id?: (string|null); /** Banner pos */ pos?: (openrtb.Enums.BidRequest.Impression.AdPosition|null); /** Banner btype */ btype?: (openrtb.Enums.BidRequest.Impression.Banner.AdType[]|null); /** Banner battr */ battr?: (openrtb.CreativeAttribute[]|null); /** Banner mimes */ mimes?: (string[]|null); /** Banner topframe */ topframe?: (openrtb.Flag|null); /** Banner expdir */ expdir?: (openrtb.Enums.BidRequest.Impression.Banner.ExpandableDirection[]|null); /** Banner api */ api?: (openrtb.Enums.BidRequest.Impression.ApiFramework[]|null); /** Banner ext */ ext?: (openrtb.IBannerExtensions|null); } /** Represents a Banner. */ class Banner implements IBanner { /** * Constructs a new Banner. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.Impression.IBanner); /** Banner w. */ public w: number; /** Banner h. */ public h: number; /** * Maximum width of the impression in pixels. If included, it indicates that a range * of sizes is allowed with this maximum width and "w" is taken as recommended. * If not included, then "w" should be considered an exact requirement. */ public wmax: number; /** * Maximum height of the impression in pixels. If included, it indicates that a range * of sizes is allowed with this maximum height and "h" is taken as recommended. * If not included, then "h" should be considered an exact requirement. */ public hmax: number; /** * Minimum width of the impression in pixels. If included, it indicates that a range * of sizes is allowed with this minimum width and "w" is taken as recommended. * If not included, then "w" should be considered an exact requirement. */ public wmin: number; /** * Minumum height of the impression in pixels. If included, it indicates * that a range of sizes is allowed with this minimum height and "h" is * taken as recommended. * If not included, then "h" should be considered an exact requirement. */ public hmin: number; /** Banner id. */ public id: string; /** Banner pos. */ public pos: openrtb.Enums.BidRequest.Impression.AdPosition; /** Banner btype. */ public btype: openrtb.Enums.BidRequest.Impression.Banner.AdType[]; /** Banner battr. */ public battr: openrtb.CreativeAttribute[]; /** Banner mimes. */ public mimes: string[]; /** Banner topframe. */ public topframe: openrtb.Flag; /** Banner expdir. */ public expdir: openrtb.Enums.BidRequest.Impression.Banner.ExpandableDirection[]; /** Banner api. */ public api: openrtb.Enums.BidRequest.Impression.ApiFramework[]; /** Banner ext. */ public ext?: (openrtb.IBannerExtensions|null); /** * Creates a new Banner instance using the specified properties. * @param [properties] Properties to set * @returns Banner instance */ public static create(properties?: openrtb.BidRequest.Impression.IBanner): openrtb.BidRequest.Impression.Banner; /** * Encodes the specified Banner message. Does not implicitly {@link openrtb.BidRequest.Impression.Banner.verify|verify} messages. * @param message Banner message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.Impression.IBanner, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Banner message, length delimited. Does not implicitly {@link openrtb.BidRequest.Impression.Banner.verify|verify} messages. * @param message Banner message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.Impression.IBanner, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Banner message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Banner * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Impression.Banner; /** * Decodes a Banner message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Banner * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Impression.Banner; /** * Verifies a Banner message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Banner message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Banner */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Impression.Banner; /** * Creates a plain object from a Banner message. Also converts values to other types if specified. * @param message Banner * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Impression.Banner, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Banner to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Video. */ interface IVideo { /** Video mimes */ mimes?: (string[]|null); /** Video linearity */ linearity?: (openrtb.Enums.BidRequest.Impression.Video.Linearity|null); /** Video minduration */ minduration?: (number|null); /** Video maxduration */ maxduration?: (number|null); /** Video protocols */ protocols?: (openrtb.Enums.BidRequest.Impression.Video.Protocol[]|null); /** Video w */ w?: (number|null); /** Video h */ h?: (number|null); /** Video startdelay */ startdelay?: (number|null); /** Video sequence */ sequence?: (number|null); /** Video battr */ battr?: (openrtb.CreativeAttribute[]|null); /** Video maxextended */ maxextended?: (number|null); /** Video minbitrate */ minbitrate?: (number|null); /** Video maxbitrate */ maxbitrate?: (number|null); /** Video boxingallowed */ boxingallowed?: (openrtb.Flag|null); /** Video playbackmethod */ playbackmethod?: (openrtb.Enums.BidRequest.Impression.Video.PlaybackMethod[]|null); /** Video delivery */ delivery?: (openrtb.Enums.BidRequest.Impression.Video.ContentDelivery[]|null); /** Video pos */ pos?: (openrtb.Enums.BidRequest.Impression.AdPosition|null); /** Video companionad */ companionad?: (openrtb.BidRequest.Impression.IBanner[]|null); /** Video api */ api?: (openrtb.Enums.BidRequest.Impression.ApiFramework[]|null); /** Video companiontype */ companiontype?: (openrtb.Enums.BidRequest.Impression.Video.CompanionType[]|null); /** Video placement */ placement?: (openrtb.Enums.BidRequest.Impression.Video.VideoPlacementType|null); /** Video playbackend */ playbackend?: (openrtb.Enums.BidRequest.Impression.Video.PlaybackCessationMode|null); /** Video ext */ ext?: (openrtb.IVideoExtensions|null); } /** Represents a Video. */ class Video implements IVideo { /** * Constructs a new Video. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.Impression.IVideo); /** Video mimes. */ public mimes: string[]; /** Video linearity. */ public linearity: openrtb.Enums.BidRequest.Impression.Video.Linearity; /** Video minduration. */ public minduration: number; /** Video maxduration. */ public maxduration: number; /** Video protocols. */ public protocols: openrtb.Enums.BidRequest.Impression.Video.Protocol[]; /** Video w. */ public w: number; /** Video h. */ public h: number; /** Video startdelay. */ public startdelay: number; /** Video sequence. */ public sequence: number; /** Video battr. */ public battr: openrtb.CreativeAttribute[]; /** Video maxextended. */ public maxextended: number; /** Video minbitrate. */ public minbitrate: number; /** Video maxbitrate. */ public maxbitrate: number; /** Video boxingallowed. */ public boxingallowed: openrtb.Flag; /** Video playbackmethod. */ public playbackmethod: openrtb.Enums.BidRequest.Impression.Video.PlaybackMethod[]; /** Video delivery. */ public delivery: openrtb.Enums.BidRequest.Impression.Video.ContentDelivery[]; /** Video pos. */ public pos: openrtb.Enums.BidRequest.Impression.AdPosition; /** Video companionad. */ public companionad: openrtb.BidRequest.Impression.IBanner[]; /** Video api. */ public api: openrtb.Enums.BidRequest.Impression.ApiFramework[]; /** Video companiontype. */ public companiontype: openrtb.Enums.BidRequest.Impression.Video.CompanionType[]; /** Video placement. */ public placement: openrtb.Enums.BidRequest.Impression.Video.VideoPlacementType; /** Video playbackend. */ public playbackend: openrtb.Enums.BidRequest.Impression.Video.PlaybackCessationMode; /** Video ext. */ public ext?: (openrtb.IVideoExtensions|null); /** * Creates a new Video instance using the specified properties. * @param [properties] Properties to set * @returns Video instance */ public static create(properties?: openrtb.BidRequest.Impression.IVideo): openrtb.BidRequest.Impression.Video; /** * Encodes the specified Video message. Does not implicitly {@link openrtb.BidRequest.Impression.Video.verify|verify} messages. * @param message Video message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.Impression.IVideo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Video message, length delimited. Does not implicitly {@link openrtb.BidRequest.Impression.Video.verify|verify} messages. * @param message Video message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.Impression.IVideo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Video message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Video * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Impression.Video; /** * Decodes a Video message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Video * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Impression.Video; /** * Verifies a Video message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Video message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Video */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Impression.Video; /** * Creates a plain object from a Video message. Also converts values to other types if specified. * @param message Video * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Impression.Video, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Video to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Native. */ interface INative { /** Request payload complying with the Native Ad Specification. */ request: openrtb.INativeRequest; /** * Version of the Native Ad Specification to which request complies; * highly recommended for efficient parsing. */ ver?: (string|null); /** * List of supported API frameworks for this impression. Refer to List 5.6. * If an API is not explicitly listed, it is assumed not to be supported. */ api?: (openrtb.Enums.BidRequest.Impression.ApiFramework[]|null); /** Blocked creative attributes. Refer to List 5.3. */ battr?: (openrtb.CreativeAttribute[]|null); /** Native ext */ ext?: (openrtb.INativeExtensions|null); } /** * OpenRTB 3.2.5: This object represents a native type impression. * Native ad units are intended to blend seamlessly into the surrounding content * (e.g., a sponsored Twitter or Facebook post). As such, the response must be * well-structured to afford the publisher fine-grained control over rendering. * * The Native Subcommittee has developed a companion specification to OpenRTB * called the Native Ad Specification. It defines the request parameters and response markup * structure of native ad units. This object provides the means of transporting request * parameters as an opaque string so that the specific parameters can evolve separately * under the auspices of the Native Ad Specification. Similarly, the ad markup served * will be structured according to that specification. * * The presence of a Native as a subordinate of the Imp object indicates that this * impression is offered as a native type impression. At the publisher's discretion, * that same impression may also be offered as banner and/or video by also including as * Imp subordinates the Banner and/or Video objects, respectively. * However, any given bid for the impression must conform to one of the offered types. */ class Native implements INative { /** * Constructs a new Native. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.Impression.INative); /** Request payload complying with the Native Ad Specification. */ public request: openrtb.INativeRequest; /** * Version of the Native Ad Specification to which request complies; * highly recommended for efficient parsing. */ public ver: string; /** * List of supported API frameworks for this impression. Refer to List 5.6. * If an API is not explicitly listed, it is assumed not to be supported. */ public api: openrtb.Enums.BidRequest.Impression.ApiFramework[]; /** Blocked creative attributes. Refer to List 5.3. */ public battr: openrtb.CreativeAttribute[]; /** Native ext. */ public ext?: (openrtb.INativeExtensions|null); /** * Creates a new Native instance using the specified properties. * @param [properties] Properties to set * @returns Native instance */ public static create(properties?: openrtb.BidRequest.Impression.INative): openrtb.BidRequest.Impression.Native; /** * Encodes the specified Native message. Does not implicitly {@link openrtb.BidRequest.Impression.Native.verify|verify} messages. * @param message Native message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.Impression.INative, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Native message, length delimited. Does not implicitly {@link openrtb.BidRequest.Impression.Native.verify|verify} messages. * @param message Native message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.Impression.INative, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Native message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Native * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Impression.Native; /** * Decodes a Native message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Native * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Impression.Native; /** * Verifies a Native message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Native message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Native */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Impression.Native; /** * Creates a plain object from a Native message. Also converts values to other types if specified. * @param message Native * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Impression.Native, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Native to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a PMP. */ interface IPMP { /** PMP private_auction */ private_auction?: (openrtb.Flag|null); /** PMP deals */ deals?: (openrtb.BidRequest.Impression.PMP.IDirectDeal[]|null); /** PMP ext */ ext?: (openrtb.IPMPExtensions|null); } /** Represents a PMP. */ class PMP implements IPMP { /** * Constructs a new PMP. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.Impression.IPMP); /** PMP private_auction. */ public private_auction: openrtb.Flag; /** PMP deals. */ public deals: openrtb.BidRequest.Impression.PMP.IDirectDeal[]; /** PMP ext. */ public ext?: (openrtb.IPMPExtensions|null); /** * Creates a new PMP instance using the specified properties. * @param [properties] Properties to set * @returns PMP instance */ public static create(properties?: openrtb.BidRequest.Impression.IPMP): openrtb.BidRequest.Impression.PMP; /** * Encodes the specified PMP message. Does not implicitly {@link openrtb.BidRequest.Impression.PMP.verify|verify} messages. * @param message PMP message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.Impression.IPMP, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PMP message, length delimited. Does not implicitly {@link openrtb.BidRequest.Impression.PMP.verify|verify} messages. * @param message PMP message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.Impression.IPMP, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PMP message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PMP * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Impression.PMP; /** * Decodes a PMP message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PMP * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Impression.PMP; /** * Verifies a PMP message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PMP message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PMP */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Impression.PMP; /** * Creates a plain object from a PMP message. Also converts values to other types if specified. * @param message PMP * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Impression.PMP, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PMP to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace PMP { /** Properties of a DirectDeal. */ interface IDirectDeal { /** DirectDeal id */ id: string; /** DirectDeal bidfloor */ bidfloor?: (number|null); /** DirectDeal bidfloorcur */ bidfloorcur?: (string|null); /** DirectDeal wseat */ wseat?: (string[]|null); /** DirectDeal wadomain */ wadomain?: (string[]|null); /** DirectDeal at */ at?: (number|null); /** DirectDeal ext */ ext?: (openrtb.IDirectDealExtensions|null); } /** Represents a DirectDeal. */ class DirectDeal implements IDirectDeal { /** * Constructs a new DirectDeal. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.Impression.PMP.IDirectDeal); /** DirectDeal id. */ public id: string; /** DirectDeal bidfloor. */ public bidfloor: number; /** DirectDeal bidfloorcur. */ public bidfloorcur: string; /** DirectDeal wseat. */ public wseat: string[]; /** DirectDeal wadomain. */ public wadomain: string[]; /** DirectDeal at. */ public at: number; /** DirectDeal ext. */ public ext?: (openrtb.IDirectDealExtensions|null); /** * Creates a new DirectDeal instance using the specified properties. * @param [properties] Properties to set * @returns DirectDeal instance */ public static create(properties?: openrtb.BidRequest.Impression.PMP.IDirectDeal): openrtb.BidRequest.Impression.PMP.DirectDeal; /** * Encodes the specified DirectDeal message. Does not implicitly {@link openrtb.BidRequest.Impression.PMP.DirectDeal.verify|verify} messages. * @param message DirectDeal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.Impression.PMP.IDirectDeal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DirectDeal message, length delimited. Does not implicitly {@link openrtb.BidRequest.Impression.PMP.DirectDeal.verify|verify} messages. * @param message DirectDeal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.Impression.PMP.IDirectDeal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DirectDeal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DirectDeal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Impression.PMP.DirectDeal; /** * Decodes a DirectDeal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DirectDeal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Impression.PMP.DirectDeal; /** * Verifies a DirectDeal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DirectDeal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DirectDeal */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Impression.PMP.DirectDeal; /** * Creates a plain object from a DirectDeal message. Also converts values to other types if specified. * @param message DirectDeal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Impression.PMP.DirectDeal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DirectDeal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Properties of a Site. */ interface ISite { /** Site id */ id?: (string|null); /** Site name */ name?: (string|null); /** Site domain */ domain?: (string|null); /** Site cat */ cat?: (string[]|null); /** Site sectioncat */ sectioncat?: (string[]|null); /** Site pagecat */ pagecat?: (string[]|null); /** Site page */ page?: (string|null); /** Site privacypolicy */ privacypolicy?: (openrtb.Flag|null); /** Site ref */ ref?: (string|null); /** Site search */ search?: (string|null); /** Site mobile */ mobile?: (boolean|null); /** Site publisher */ publisher?: (openrtb.BidRequest.IPublisher|null); /** Site content */ content?: (openrtb.BidRequest.IContent|null); /** Site keywords */ keywords?: (string|null); /** Site ext */ ext?: (openrtb.ISiteExtensions|null); } /** Represents a Site. */ class Site implements ISite { /** * Constructs a new Site. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.ISite); /** Site id. */ public id: string; /** Site name. */ public name: string; /** Site domain. */ public domain: string; /** Site cat. */ public cat: string[]; /** Site sectioncat. */ public sectioncat: string[]; /** Site pagecat. */ public pagecat: string[]; /** Site page. */ public page: string; /** Site privacypolicy. */ public privacypolicy: openrtb.Flag; /** Site ref. */ public ref: string; /** Site search. */ public search: string; /** Site mobile. */ public mobile: boolean; /** Site publisher. */ public publisher?: (openrtb.BidRequest.IPublisher|null); /** Site content. */ public content?: (openrtb.BidRequest.IContent|null); /** Site keywords. */ public keywords: string; /** Site ext. */ public ext?: (openrtb.ISiteExtensions|null); /** * Creates a new Site instance using the specified properties. * @param [properties] Properties to set * @returns Site instance */ public static create(properties?: openrtb.BidRequest.ISite): openrtb.BidRequest.Site; /** * Encodes the specified Site message. Does not implicitly {@link openrtb.BidRequest.Site.verify|verify} messages. * @param message Site message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.ISite, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Site message, length delimited. Does not implicitly {@link openrtb.BidRequest.Site.verify|verify} messages. * @param message Site message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.ISite, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Site message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Site * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Site; /** * Decodes a Site message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Site * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Site; /** * Verifies a Site message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Site message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Site */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Site; /** * Creates a plain object from a Site message. Also converts values to other types if specified. * @param message Site * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Site, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Site to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an App. */ interface IApp { /** App id */ id?: (string|null); /** App name */ name?: (string|null); /** App domain */ domain?: (string|null); /** App cat */ cat?: (string[]|null); /** App sectioncat */ sectioncat?: (string[]|null); /** App pagecat */ pagecat?: (string[]|null); /** App ver */ ver?: (string|null); /** App bundle */ bundle?: (string|null); /** App privacypolicy */ privacypolicy?: (openrtb.Flag|null); /** App paid */ paid?: (openrtb.Flag|null); /** App publisher */ publisher?: (openrtb.BidRequest.IPublisher|null); /** App content */ content?: (openrtb.BidRequest.IContent|null); /** App keywords */ keywords?: (string|null); /** App storeurl */ storeurl?: (string|null); /** App ext */ ext?: (openrtb.IAppExtensions|null); } /** Represents an App. */ class App implements IApp { /** * Constructs a new App. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.IApp); /** App id. */ public id: string; /** App name. */ public name: string; /** App domain. */ public domain: string; /** App cat. */ public cat: string[]; /** App sectioncat. */ public sectioncat: string[]; /** App pagecat. */ public pagecat: string[]; /** App ver. */ public ver: string; /** App bundle. */ public bundle: string; /** App privacypolicy. */ public privacypolicy: openrtb.Flag; /** App paid. */ public paid: openrtb.Flag; /** App publisher. */ public publisher?: (openrtb.BidRequest.IPublisher|null); /** App content. */ public content?: (openrtb.BidRequest.IContent|null); /** App keywords. */ public keywords: string; /** App storeurl. */ public storeurl: string; /** App ext. */ public ext?: (openrtb.IAppExtensions|null); /** * Creates a new App instance using the specified properties. * @param [properties] Properties to set * @returns App instance */ public static create(properties?: openrtb.BidRequest.IApp): openrtb.BidRequest.App; /** * Encodes the specified App message. Does not implicitly {@link openrtb.BidRequest.App.verify|verify} messages. * @param message App message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.IApp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified App message, length delimited. Does not implicitly {@link openrtb.BidRequest.App.verify|verify} messages. * @param message App message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.IApp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an App message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns App * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.App; /** * Decodes an App message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns App * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.App; /** * Verifies an App message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an App message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns App */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.App; /** * Creates a plain object from an App message. Also converts values to other types if specified. * @param message App * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.App, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this App to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Content. */ interface IContent { /** Content id */ id?: (string|null); /** Content episode */ episode?: (number|null); /** Content title */ title?: (string|null); /** Content series */ series?: (string|null); /** Content season */ season?: (string|null); /** Content url */ url?: (string|null); /** Content cat */ cat?: (string[]|null); /** Content videoquality */ videoquality?: (openrtb.Enums.BidRequest.Content.VideoQuality|null); /** Content keywords */ keywords?: (string|null); /** Content contentrating */ contentrating?: (string|null); /** Content userrating */ userrating?: (string|null); /** Content context */ context?: (openrtb.Enums.BidRequest.Content.Context|null); /** Content livestream */ livestream?: (openrtb.Flag|null); /** Content sourcerelationship */ sourcerelationship?: (openrtb.Enums.BidRequest.Content.SourceRelationship|null); /** Content producer */ producer?: (openrtb.BidRequest.IProducer|null); /** Content len */ len?: (number|null); /** Content qagmediarating */ qagmediarating?: (openrtb.Enums.BidRequest.Content.QAGMediaRating|null); /** Content embeddable */ embeddable?: (openrtb.Flag|null); /** Content language */ language?: (string|null); /** Content ext */ ext?: (openrtb.IContentExtensions|null); } /** Represents a Content. */ class Content implements IContent { /** * Constructs a new Content. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.IContent); /** Content id. */ public id: string; /** Content episode. */ public episode: number; /** Content title. */ public title: string; /** Content series. */ public series: string; /** Content season. */ public season: string; /** Content url. */ public url: string; /** Content cat. */ public cat: string[]; /** Content videoquality. */ public videoquality: openrtb.Enums.BidRequest.Content.VideoQuality; /** Content keywords. */ public keywords: string; /** Content contentrating. */ public contentrating: string; /** Content userrating. */ public userrating: string; /** Content context. */ public context: openrtb.Enums.BidRequest.Content.Context; /** Content livestream. */ public livestream: openrtb.Flag; /** Content sourcerelationship. */ public sourcerelationship: openrtb.Enums.BidRequest.Content.SourceRelationship; /** Content producer. */ public producer?: (openrtb.BidRequest.IProducer|null); /** Content len. */ public len: number; /** Content qagmediarating. */ public qagmediarating: openrtb.Enums.BidRequest.Content.QAGMediaRating; /** Content embeddable. */ public embeddable: openrtb.Flag; /** Content language. */ public language: string; /** Content ext. */ public ext?: (openrtb.IContentExtensions|null); /** * Creates a new Content instance using the specified properties. * @param [properties] Properties to set * @returns Content instance */ public static create(properties?: openrtb.BidRequest.IContent): openrtb.BidRequest.Content; /** * Encodes the specified Content message. Does not implicitly {@link openrtb.BidRequest.Content.verify|verify} messages. * @param message Content message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.IContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Content message, length delimited. Does not implicitly {@link openrtb.BidRequest.Content.verify|verify} messages. * @param message Content message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.IContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Content message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Content * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Content; /** * Decodes a Content message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Content * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Content; /** * Verifies a Content message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Content message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Content */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Content; /** * Creates a plain object from a Content message. Also converts values to other types if specified. * @param message Content * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Content, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Content to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Device. */ interface IDevice { /** Device dnt */ dnt?: (openrtb.Flag|null); /** Device ua */ ua?: (string|null); /** Device ip */ ip?: (string|null); /** Device geo */ geo?: (openrtb.BidRequest.IGeo|null); /** Device didsha1 */ didsha1?: (string|null); /** Device didmd5 */ didmd5?: (string|null); /** Device dpidsha1 */ dpidsha1?: (string|null); /** Device dpidmd5 */ dpidmd5?: (string|null); /** Device ipv6 */ ipv6?: (string|null); /** Device carrier */ carrier?: (string|null); /** Device language */ language?: (string|null); /** Device make */ make?: (string|null); /** Device model */ model?: (string|null); /** Device os */ os?: (string|null); /** Device osv */ osv?: (string|null); /** Device js */ js?: (openrtb.Flag|null); /** Device connectiontype */ connectiontype?: (openrtb.Enums.BidRequest.Device.ConnectionType|null); /** Device devicetype */ devicetype?: (openrtb.Enums.BidRequest.Device.DeviceType|null); /** Device flashver */ flashver?: (string|null); /** Device lmt */ lmt?: (boolean|null); /** Device hwv */ hwv?: (string|null); /** Device w */ w?: (number|null); /** Device h */ h?: (number|null); /** Device ppi */ ppi?: (number|null); /** Device pxratio */ pxratio?: (number|null); /** Device ifa */ ifa?: (string|null); /** Device macsha1 */ macsha1?: (string|null); /** MAC address of the device; hashed via MD5. */ macmd5?: (string|null); /** Device mccmnc */ mccmnc?: (string|null); /** Device ext */ ext?: (openrtb.IDeviceExtensions|null); } /** Represents a Device. */ class Device implements IDevice { /** * Constructs a new Device. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.IDevice); /** Device dnt. */ public dnt: openrtb.Flag; /** Device ua. */ public ua: string; /** Device ip. */ public ip: string; /** Device geo. */ public geo?: (openrtb.BidRequest.IGeo|null); /** Device didsha1. */ public didsha1: string; /** Device didmd5. */ public didmd5: string; /** Device dpidsha1. */ public dpidsha1: string; /** Device dpidmd5. */ public dpidmd5: string; /** Device ipv6. */ public ipv6: string; /** Device carrier. */ public carrier: string; /** Device language. */ public language: string; /** Device make. */ public make: string; /** Device model. */ public model: string; /** Device os. */ public os: string; /** Device osv. */ public osv: string; /** Device js. */ public js: openrtb.Flag; /** Device connectiontype. */ public connectiontype: openrtb.Enums.BidRequest.Device.ConnectionType; /** Device devicetype. */ public devicetype: openrtb.Enums.BidRequest.Device.DeviceType; /** Device flashver. */ public flashver: string; /** Device lmt. */ public lmt: boolean; /** Device hwv. */ public hwv: string; /** Device w. */ public w: number; /** Device h. */ public h: number; /** Device ppi. */ public ppi: number; /** Device pxratio. */ public pxratio: number; /** Device ifa. */ public ifa: string; /** Device macsha1. */ public macsha1: string; /** MAC address of the device; hashed via MD5. */ public macmd5: string; /** Device mccmnc. */ public mccmnc: string; /** Device ext. */ public ext?: (openrtb.IDeviceExtensions|null); /** * Creates a new Device instance using the specified properties. * @param [properties] Properties to set * @returns Device instance */ public static create(properties?: openrtb.BidRequest.IDevice): openrtb.BidRequest.Device; /** * Encodes the specified Device message. Does not implicitly {@link openrtb.BidRequest.Device.verify|verify} messages. * @param message Device message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.IDevice, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Device message, length delimited. Does not implicitly {@link openrtb.BidRequest.Device.verify|verify} messages. * @param message Device message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.IDevice, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Device message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Device * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Device; /** * Decodes a Device message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Device * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Device; /** * Verifies a Device message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Device message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Device */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Device; /** * Creates a plain object from a Device message. Also converts values to other types if specified. * @param message Device * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Device, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Device to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a User. */ interface IUser { /** User id */ id?: (string|null); /** User buyeruid */ buyeruid?: (string|null); /** User yob */ yob?: (number|null); /** User gender */ gender?: (string|null); /** User keywords */ keywords?: (string|null); /** User customdata */ customdata?: (string|null); /** User geo */ geo?: (openrtb.BidRequest.IGeo|null); /** User data */ data?: (openrtb.BidRequest.IData[]|null); /** User ext */ ext?: (openrtb.IUserExtensions|null); } /** Represents a User. */ class User implements IUser { /** * Constructs a new User. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.IUser); /** User id. */ public id: string; /** User buyeruid. */ public buyeruid: string; /** User yob. */ public yob: number; /** User gender. */ public gender: string; /** User keywords. */ public keywords: string; /** User customdata. */ public customdata: string; /** User geo. */ public geo?: (openrtb.BidRequest.IGeo|null); /** User data. */ public data: openrtb.BidRequest.IData[]; /** User ext. */ public ext?: (openrtb.IUserExtensions|null); /** * Creates a new User instance using the specified properties. * @param [properties] Properties to set * @returns User instance */ public static create(properties?: openrtb.BidRequest.IUser): openrtb.BidRequest.User; /** * Encodes the specified User message. Does not implicitly {@link openrtb.BidRequest.User.verify|verify} messages. * @param message User message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.IUser, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified User message, length delimited. Does not implicitly {@link openrtb.BidRequest.User.verify|verify} messages. * @param message User message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.IUser, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a User message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns User * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.User; /** * Decodes a User message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns User * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.User; /** * Verifies a User message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a User message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns User */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.User; /** * Creates a plain object from a User message. Also converts values to other types if specified. * @param message User * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.User, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this User to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Publisher. */ interface IPublisher { /** Publisher id */ id?: (string|null); /** Publisher name */ name?: (string|null); /** Publisher cat */ cat?: (string[]|null); /** Publisher domain */ domain?: (string|null); /** Publisher ext */ ext?: (openrtb.IPublisherExtensions|null); } /** Represents a Publisher. */ class Publisher implements IPublisher { /** * Constructs a new Publisher. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.IPublisher); /** Publisher id. */ public id: string; /** Publisher name. */ public name: string; /** Publisher cat. */ public cat: string[]; /** Publisher domain. */ public domain: string; /** Publisher ext. */ public ext?: (openrtb.IPublisherExtensions|null); /** * Creates a new Publisher instance using the specified properties. * @param [properties] Properties to set * @returns Publisher instance */ public static create(properties?: openrtb.BidRequest.IPublisher): openrtb.BidRequest.Publisher; /** * Encodes the specified Publisher message. Does not implicitly {@link openrtb.BidRequest.Publisher.verify|verify} messages. * @param message Publisher message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.IPublisher, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Publisher message, length delimited. Does not implicitly {@link openrtb.BidRequest.Publisher.verify|verify} messages. * @param message Publisher message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.IPublisher, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Publisher message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Publisher * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Publisher; /** * Decodes a Publisher message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Publisher * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Publisher; /** * Verifies a Publisher message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Publisher message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Publisher */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Publisher; /** * Creates a plain object from a Publisher message. Also converts values to other types if specified. * @param message Publisher * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Publisher, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Publisher to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Producer. */ interface IProducer { /** Producer id */ id?: (string|null); /** Producer name */ name?: (string|null); /** Producer cat */ cat?: (string[]|null); /** Producer domain */ domain?: (string|null); /** Producer ext */ ext?: (openrtb.IProducerExtensions|null); } /** Represents a Producer. */ class Producer implements IProducer { /** * Constructs a new Producer. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.IProducer); /** Producer id. */ public id: string; /** Producer name. */ public name: string; /** Producer cat. */ public cat: string[]; /** Producer domain. */ public domain: string; /** Producer ext. */ public ext?: (openrtb.IProducerExtensions|null); /** * Creates a new Producer instance using the specified properties. * @param [properties] Properties to set * @returns Producer instance */ public static create(properties?: openrtb.BidRequest.IProducer): openrtb.BidRequest.Producer; /** * Encodes the specified Producer message. Does not implicitly {@link openrtb.BidRequest.Producer.verify|verify} messages. * @param message Producer message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.IProducer, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Producer message, length delimited. Does not implicitly {@link openrtb.BidRequest.Producer.verify|verify} messages. * @param message Producer message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.IProducer, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Producer message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Producer * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Producer; /** * Decodes a Producer message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Producer * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Producer; /** * Verifies a Producer message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Producer message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Producer */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Producer; /** * Creates a plain object from a Producer message. Also converts values to other types if specified. * @param message Producer * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Producer, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Producer to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Geo. */ interface IGeo { /** Geo lat */ lat?: (number|null); /** Geo lon */ lon?: (number|null); /** Geo country */ country?: (string|null); /** Geo region */ region?: (string|null); /** Geo regionfips104 */ regionfips104?: (string|null); /** Geo metro */ metro?: (string|null); /** Geo city */ city?: (string|null); /** Geo zip */ zip?: (string|null); /** Geo type */ type?: (openrtb.Enums.BidRequest.Geo.LocationType|null); /** Geo utcoffset */ utcoffset?: (number|null); /** Geo ext */ ext?: (openrtb.IGeoExtensions|null); } /** Represents a Geo. */ class Geo implements IGeo { /** * Constructs a new Geo. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.IGeo); /** Geo lat. */ public lat: number; /** Geo lon. */ public lon: number; /** Geo country. */ public country: string; /** Geo region. */ public region: string; /** Geo regionfips104. */ public regionfips104: string; /** Geo metro. */ public metro: string; /** Geo city. */ public city: string; /** Geo zip. */ public zip: string; /** Geo type. */ public type: openrtb.Enums.BidRequest.Geo.LocationType; /** Geo utcoffset. */ public utcoffset: number; /** Geo ext. */ public ext?: (openrtb.IGeoExtensions|null); /** * Creates a new Geo instance using the specified properties. * @param [properties] Properties to set * @returns Geo instance */ public static create(properties?: openrtb.BidRequest.IGeo): openrtb.BidRequest.Geo; /** * Encodes the specified Geo message. Does not implicitly {@link openrtb.BidRequest.Geo.verify|verify} messages. * @param message Geo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.IGeo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Geo message, length delimited. Does not implicitly {@link openrtb.BidRequest.Geo.verify|verify} messages. * @param message Geo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.IGeo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Geo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Geo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Geo; /** * Decodes a Geo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Geo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Geo; /** * Verifies a Geo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Geo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Geo */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Geo; /** * Creates a plain object from a Geo message. Also converts values to other types if specified. * @param message Geo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Geo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Geo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a Data. */ interface IData { /** Data id */ id?: (string|null); /** Data name */ name?: (string|null); /** Data segment */ segment?: (openrtb.BidRequest.Data.ISegment[]|null); /** Data ext */ ext?: (openrtb.IDataExtensions|null); } /** Represents a Data. */ class Data implements IData { /** * Constructs a new Data. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.IData); /** Data id. */ public id: string; /** Data name. */ public name: string; /** Data segment. */ public segment: openrtb.BidRequest.Data.ISegment[]; /** Data ext. */ public ext?: (openrtb.IDataExtensions|null); /** * Creates a new Data instance using the specified properties. * @param [properties] Properties to set * @returns Data instance */ public static create(properties?: openrtb.BidRequest.IData): openrtb.BidRequest.Data; /** * Encodes the specified Data message. Does not implicitly {@link openrtb.BidRequest.Data.verify|verify} messages. * @param message Data message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.IData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Data message, length delimited. Does not implicitly {@link openrtb.BidRequest.Data.verify|verify} messages. * @param message Data message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.IData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Data message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Data * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Data; /** * Decodes a Data message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Data * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Data; /** * Verifies a Data message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Data message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Data */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Data; /** * Creates a plain object from a Data message. Also converts values to other types if specified. * @param message Data * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Data, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Data to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace Data { /** Properties of a Segment. */ interface ISegment { /** Segment id */ id?: (string|null); /** Segment name */ name?: (string|null); /** Segment value */ value?: (string|null); /** Segment ext */ ext?: (openrtb.ISegmentExtensions|null); } /** Represents a Segment. */ class Segment implements ISegment { /** * Constructs a new Segment. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.Data.ISegment); /** Segment id. */ public id: string; /** Segment name. */ public name: string; /** Segment value. */ public value: string; /** Segment ext. */ public ext?: (openrtb.ISegmentExtensions|null); /** * Creates a new Segment instance using the specified properties. * @param [properties] Properties to set * @returns Segment instance */ public static create(properties?: openrtb.BidRequest.Data.ISegment): openrtb.BidRequest.Data.Segment; /** * Encodes the specified Segment message. Does not implicitly {@link openrtb.BidRequest.Data.Segment.verify|verify} messages. * @param message Segment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.Data.ISegment, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Segment message, length delimited. Does not implicitly {@link openrtb.BidRequest.Data.Segment.verify|verify} messages. * @param message Segment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.Data.ISegment, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Segment message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Segment * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Data.Segment; /** * Decodes a Segment message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Segment * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Data.Segment; /** * Verifies a Segment message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Segment message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Segment */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Data.Segment; /** * Creates a plain object from a Segment message. Also converts values to other types if specified. * @param message Segment * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Data.Segment, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Segment to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Properties of a Regulations. */ interface IRegulations { /** Regulations coppa */ coppa?: (openrtb.Flag|null); /** Regulations ext */ ext?: (openrtb.IRegulationsExtensions|null); } /** Represents a Regulations. */ class Regulations implements IRegulations { /** * Constructs a new Regulations. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidRequest.IRegulations); /** Regulations coppa. */ public coppa: openrtb.Flag; /** Regulations ext. */ public ext?: (openrtb.IRegulationsExtensions|null); /** * Creates a new Regulations instance using the specified properties. * @param [properties] Properties to set * @returns Regulations instance */ public static create(properties?: openrtb.BidRequest.IRegulations): openrtb.BidRequest.Regulations; /** * Encodes the specified Regulations message. Does not implicitly {@link openrtb.BidRequest.Regulations.verify|verify} messages. * @param message Regulations message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidRequest.IRegulations, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Regulations message, length delimited. Does not implicitly {@link openrtb.BidRequest.Regulations.verify|verify} messages. * @param message Regulations message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidRequest.IRegulations, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Regulations message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Regulations * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidRequest.Regulations; /** * Decodes a Regulations message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Regulations * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidRequest.Regulations; /** * Verifies a Regulations message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Regulations message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Regulations */ public static fromObject(object: { [k: string]: any }): openrtb.BidRequest.Regulations; /** * Creates a plain object from a Regulations message. Also converts values to other types if specified. * @param message Regulations * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidRequest.Regulations, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Regulations to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Properties of a BidResponse. */ interface IBidResponse { /** BidResponse id */ id?: (string|null); /** BidResponse seatbid */ seatbid?: (openrtb.BidResponse.ISeatBid[]|null); /** BidResponse bidid */ bidid?: (string|null); /** BidResponse cur */ cur?: (string|null); /** BidResponse customdata */ customdata?: (string|null); /** BidResponse nbr */ nbr?: (openrtb.Enums.BidResponse.NoBidReason|null); /** BidResponse ext */ ext?: (openrtb.IBidResponseExtensions|null); } /** Represents a BidResponse. */ class BidResponse implements IBidResponse { /** * Constructs a new BidResponse. * @param [properties] Properties to set */ constructor(properties?: openrtb.IBidResponse); /** BidResponse id. */ public id: string; /** BidResponse seatbid. */ public seatbid: openrtb.BidResponse.ISeatBid[]; /** BidResponse bidid. */ public bidid: string; /** BidResponse cur. */ public cur: string; /** BidResponse customdata. */ public customdata: string; /** BidResponse nbr. */ public nbr: openrtb.Enums.BidResponse.NoBidReason; /** BidResponse ext. */ public ext?: (openrtb.IBidResponseExtensions|null); /** * Creates a new BidResponse instance using the specified properties. * @param [properties] Properties to set * @returns BidResponse instance */ public static create(properties?: openrtb.IBidResponse): openrtb.BidResponse; /** * Encodes the specified BidResponse message. Does not implicitly {@link openrtb.BidResponse.verify|verify} messages. * @param message BidResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.IBidResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BidResponse message, length delimited. Does not implicitly {@link openrtb.BidResponse.verify|verify} messages. * @param message BidResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.IBidResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BidResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BidResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidResponse; /** * Decodes a BidResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BidResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidResponse; /** * Verifies a BidResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BidResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BidResponse */ public static fromObject(object: { [k: string]: any }): openrtb.BidResponse; /** * Creates a plain object from a BidResponse message. Also converts values to other types if specified. * @param message BidResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BidResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace BidResponse { /** Properties of a SeatBid. */ interface ISeatBid { /** SeatBid bid */ bid?: (openrtb.BidResponse.SeatBid.IBid[]|null); /** SeatBid seat */ seat?: (string|null); /** SeatBid group */ group?: (openrtb.Flag|null); /** SeatBid ext */ ext?: (openrtb.ISeatBidExtensions|null); } /** Represents a SeatBid. */ class SeatBid implements ISeatBid { /** * Constructs a new SeatBid. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidResponse.ISeatBid); /** SeatBid bid. */ public bid: openrtb.BidResponse.SeatBid.IBid[]; /** SeatBid seat. */ public seat: string; /** SeatBid group. */ public group: openrtb.Flag; /** SeatBid ext. */ public ext?: (openrtb.ISeatBidExtensions|null); /** * Creates a new SeatBid instance using the specified properties. * @param [properties] Properties to set * @returns SeatBid instance */ public static create(properties?: openrtb.BidResponse.ISeatBid): openrtb.BidResponse.SeatBid; /** * Encodes the specified SeatBid message. Does not implicitly {@link openrtb.BidResponse.SeatBid.verify|verify} messages. * @param message SeatBid message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidResponse.ISeatBid, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SeatBid message, length delimited. Does not implicitly {@link openrtb.BidResponse.SeatBid.verify|verify} messages. * @param message SeatBid message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidResponse.ISeatBid, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SeatBid message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SeatBid * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidResponse.SeatBid; /** * Decodes a SeatBid message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SeatBid * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidResponse.SeatBid; /** * Verifies a SeatBid message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SeatBid message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SeatBid */ public static fromObject(object: { [k: string]: any }): openrtb.BidResponse.SeatBid; /** * Creates a plain object from a SeatBid message. Also converts values to other types if specified. * @param message SeatBid * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidResponse.SeatBid, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SeatBid to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace SeatBid { /** Properties of a Bid. */ interface IBid { /** Bid id */ id: string; /** Bid impid */ impid: string; /** Bid price */ price: number; /** Bid adid */ adid?: (string|null); /** Bid nurl */ nurl?: (string|null); /** Bid adm */ adm?: (string|null); /** Bid adm_native */ adm_native?: (openrtb.INativeResponse|null); /** Bid adomain */ adomain?: (string[]|null); /** * Bundle or package name (e.g., com.foo.mygame) of the app being advertised, if applicable; * intended to be a unique ID across exchanges. */ bundle?: (string|null); /** Bid iurl */ iurl?: (string|null); /** Bid cid */ cid?: (string|null); /** Bid crid */ crid?: (string|null); /** IAB content category of the creative. */ cat?: (string[]|null); /** Bid attr */ attr?: (openrtb.CreativeAttribute[]|null); /** Bid dealid */ dealid?: (string|null); /** * Width of the ad in pixels. If the bid request contained the wmax/hmax and wmin/hmin * optional fields it is recommended that the response bid contains this field to signal * the size of ad chosen. */ w?: (number|null); /** * Height of the ad in pixels. If the bid request contained the wmax/hmax and wmin/hmin * optional fields it is recommended that the response bid contains this field to signal * the size of ad chosen. */ h?: (number|null); /** Bid ext */ ext?: (openrtb.IBidExtensions|null); } /** Represents a Bid. */ class Bid implements IBid { /** * Constructs a new Bid. * @param [properties] Properties to set */ constructor(properties?: openrtb.BidResponse.SeatBid.IBid); /** Bid id. */ public id: string; /** Bid impid. */ public impid: string; /** Bid price. */ public price: number; /** Bid adid. */ public adid: string; /** Bid nurl. */ public nurl: string; /** Bid adm. */ public adm: string; /** Bid adm_native. */ public adm_native?: (openrtb.INativeResponse|null); /** Bid adomain. */ public adomain: string[]; /** * Bundle or package name (e.g., com.foo.mygame) of the app being advertised, if applicable; * intended to be a unique ID across exchanges. */ public bundle: string; /** Bid iurl. */ public iurl: string; /** Bid cid. */ public cid: string; /** Bid crid. */ public crid: string; /** IAB content category of the creative. */ public cat: string[]; /** Bid attr. */ public attr: openrtb.CreativeAttribute[]; /** Bid dealid. */ public dealid: string; /** * Width of the ad in pixels. If the bid request contained the wmax/hmax and wmin/hmin * optional fields it is recommended that the response bid contains this field to signal * the size of ad chosen. */ public w: number; /** * Height of the ad in pixels. If the bid request contained the wmax/hmax and wmin/hmin * optional fields it is recommended that the response bid contains this field to signal * the size of ad chosen. */ public h: number; /** Bid ext. */ public ext?: (openrtb.IBidExtensions|null); /** * Creates a new Bid instance using the specified properties. * @param [properties] Properties to set * @returns Bid instance */ public static create(properties?: openrtb.BidResponse.SeatBid.IBid): openrtb.BidResponse.SeatBid.Bid; /** * Encodes the specified Bid message. Does not implicitly {@link openrtb.BidResponse.SeatBid.Bid.verify|verify} messages. * @param message Bid message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.BidResponse.SeatBid.IBid, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Bid message, length delimited. Does not implicitly {@link openrtb.BidResponse.SeatBid.Bid.verify|verify} messages. * @param message Bid message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.BidResponse.SeatBid.IBid, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Bid message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Bid * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.BidResponse.SeatBid.Bid; /** * Decodes a Bid message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Bid * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.BidResponse.SeatBid.Bid; /** * Verifies a Bid message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Bid message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Bid */ public static fromObject(object: { [k: string]: any }): openrtb.BidResponse.SeatBid.Bid; /** * Creates a plain object from a Bid message. Also converts values to other types if specified. * @param message Bid * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.BidResponse.SeatBid.Bid, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Bid to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } } /** Properties of a NativeRequest. */ interface INativeRequest { /** Version of the Native Markup version in use. */ ver?: (string|null); /** * The Layout ID of the native ad unit. * This field is not required, but it's highly recommended. */ layout?: (openrtb.Enums.BidRequest.Impression.NativeRequest.LayoutId|null); /** * The Ad unit ID of the native ad unit. This corresponds to one of IAB Core-6 native ad units. * This field is not required, but it's highly recommended. */ adunit?: (openrtb.Enums.BidRequest.Impression.NativeRequest.AdUnitId|null); /** The number of identical placements in this Layout. */ plcmtcnt?: (number|null); /** * 0 for the first ad, 1 for the second ad, and so on. * This is not the sequence number of the content in the stream. */ seq?: (number|null); /** Any bid must comply with the array of elements expressed by the Exchange. */ assets?: (openrtb.NativeRequest.IAsset[]|null); /** The context in which the ad appears. */ context?: (openrtb.Enums.BidRequest.Impression.NativeRequest.Context|null); /** A more detailed context in which the ad appears. */ contextsubtype?: (openrtb.Enums.BidRequest.Impression.NativeRequest.ContextSubtype|null); /** The design/format/layout of the ad unit being offered. */ plcmttype?: (openrtb.Enums.BidRequest.Impression.NativeRequest.PlacementType|null); } /** * OpenRTB Native 4.1: The Native Object defines the native advertising opportunity * available for bid via this bid request. It must be included directly in the * impression object if the impression offered for auction is a native ad format. */ class NativeRequest implements INativeRequest { /** * Constructs a new NativeRequest. * @param [properties] Properties to set */ constructor(properties?: openrtb.INativeRequest); /** Version of the Native Markup version in use. */ public ver: string; /** * The Layout ID of the native ad unit. * This field is not required, but it's highly recommended. */ public layout: openrtb.Enums.BidRequest.Impression.NativeRequest.LayoutId; /** * The Ad unit ID of the native ad unit. This corresponds to one of IAB Core-6 native ad units. * This field is not required, but it's highly recommended. */ public adunit: openrtb.Enums.BidRequest.Impression.NativeRequest.AdUnitId; /** The number of identical placements in this Layout. */ public plcmtcnt: number; /** * 0 for the first ad, 1 for the second ad, and so on. * This is not the sequence number of the content in the stream. */ public seq: number; /** Any bid must comply with the array of elements expressed by the Exchange. */ public assets: openrtb.NativeRequest.IAsset[]; /** The context in which the ad appears. */ public context: openrtb.Enums.BidRequest.Impression.NativeRequest.Context; /** A more detailed context in which the ad appears. */ public contextsubtype: openrtb.Enums.BidRequest.Impression.NativeRequest.ContextSubtype; /** The design/format/layout of the ad unit being offered. */ public plcmttype: openrtb.Enums.BidRequest.Impression.NativeRequest.PlacementType; /** * Creates a new NativeRequest instance using the specified properties. * @param [properties] Properties to set * @returns NativeRequest instance */ public static create(properties?: openrtb.INativeRequest): openrtb.NativeRequest; /** * Encodes the specified NativeRequest message. Does not implicitly {@link openrtb.NativeRequest.verify|verify} messages. * @param message NativeRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.INativeRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NativeRequest message, length delimited. Does not implicitly {@link openrtb.NativeRequest.verify|verify} messages. * @param message NativeRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.INativeRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NativeRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NativeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.NativeRequest; /** * Decodes a NativeRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NativeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.NativeRequest; /** * Verifies a NativeRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NativeRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NativeRequest */ public static fromObject(object: { [k: string]: any }): openrtb.NativeRequest; /** * Creates a plain object from a NativeRequest message. Also converts values to other types if specified. * @param message NativeRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.NativeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NativeRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace NativeRequest { /** Properties of an Asset. */ interface IAsset { /** Unique asset ID, assigned by exchange. Typically a counter for the array. */ id: number; /** Set to true if asset is required (exchange will not accept a bid without it). */ required?: (boolean|null); /** Title object for title assets. */ title?: (openrtb.NativeRequest.Asset.ITitle|null); /** Image object for image assets. */ img?: (openrtb.NativeRequest.Asset.IImage|null); /** * Video object for video assets. * Note that in-stream video ads are not part of Native. Native ads may contain a video * as the ad creative itself. */ video?: (openrtb.BidRequest.Impression.IVideo|null); /** Data object for ratings, prices etc. */ data?: (openrtb.NativeRequest.Asset.IData|null); } /** * OpenRTB Native 4.2: The main container object for each asset requested or supported by * Exchange on behalf of the rendering client. Any object that is required * is to be flagged as such. Only one of the {title,img,video,data} objects should be * present in each object. All others should be null/absent. The id is to be unique within * the Asset array so that the response can be aligned. */ class Asset implements IAsset { /** * Constructs a new Asset. * @param [properties] Properties to set */ constructor(properties?: openrtb.NativeRequest.IAsset); /** Unique asset ID, assigned by exchange. Typically a counter for the array. */ public id: number; /** Set to true if asset is required (exchange will not accept a bid without it). */ public required: boolean; /** Title object for title assets. */ public title?: (openrtb.NativeRequest.Asset.ITitle|null); /** Image object for image assets. */ public img?: (openrtb.NativeRequest.Asset.IImage|null); /** * Video object for video assets. * Note that in-stream video ads are not part of Native. Native ads may contain a video * as the ad creative itself. */ public video?: (openrtb.BidRequest.Impression.IVideo|null); /** Data object for ratings, prices etc. */ public data?: (openrtb.NativeRequest.Asset.IData|null); /** * Creates a new Asset instance using the specified properties. * @param [properties] Properties to set * @returns Asset instance */ public static create(properties?: openrtb.NativeRequest.IAsset): openrtb.NativeRequest.Asset; /** * Encodes the specified Asset message. Does not implicitly {@link openrtb.NativeRequest.Asset.verify|verify} messages. * @param message Asset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.NativeRequest.IAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Asset message, length delimited. Does not implicitly {@link openrtb.NativeRequest.Asset.verify|verify} messages. * @param message Asset message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.NativeRequest.IAsset, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Asset message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Asset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.NativeRequest.Asset; /** * Decodes an Asset message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Asset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.NativeRequest.Asset; /** * Verifies an Asset message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Asset message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Asset */ public static fromObject(object: { [k: string]: any }): openrtb.NativeRequest.Asset; /** * Creates a plain object from an Asset message. Also converts values to other types if specified. * @param message Asset * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.NativeRequest.Asset, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Asset to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace Asset { /** Properties of a Title. */ interface ITitle { /** Maximum length of the text in the title element. */ len: number; } /** OpenRTB Native 4.3: The Title object is to be used for title element of the Native ad. */ class Title implements ITitle { /** * Constructs a new Title. * @param [properties] Properties to set */ constructor(properties?: openrtb.NativeRequest.Asset.ITitle); /** Maximum length of the text in the title element. */ public len: number; /** * Creates a new Title instance using the specified properties. * @param [properties] Properties to set * @returns Title instance */ public static create(properties?: openrtb.NativeRequest.Asset.ITitle): openrtb.NativeRequest.Asset.Title; /** * Encodes the specified Title message. Does not implicitly {@link openrtb.NativeRequest.Asset.Title.verify|verify} messages. * @param message Title message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.NativeRequest.Asset.ITitle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Title message, length delimited. Does not implicitly {@link openrtb.NativeRequest.Asset.Title.verify|verify} messages. * @param message Title message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.NativeRequest.Asset.ITitle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Title message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Title * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.NativeRequest.Asset.Title; /** * Decodes a Title message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Title * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.NativeRequest.Asset.Title; /** * Verifies a Title message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Title message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Title */ public static fromObject(object: { [k: string]: any }): openrtb.NativeRequest.Asset.Title; /** * Creates a plain object from a Title message. Also converts values to other types if specified. * @param message Title * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.NativeRequest.Asset.Title, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Title to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of an Image. */ interface IImage { /** * Type ID of the image element supported by the publisher. * The publisher can display this information in an appropriate format. */ type?: (openrtb.NativeRequest.Asset.Image.ImageAssetType|null); /** Width of the image in pixels. */ w?: (number|null); /** Height of the image in pixels. */ h?: (number|null); /** * The minimum requested width of the image in pixels. This option should be used for any * rescaling of images by the client. Either w or wmin should be transmitted. * If only w is included, it should be considered an exact requirement. */ wmin?: (number|null); /** * The minimum requested height of the image in pixels. This option should be used for any * rescaling of images by the client. Either h or hmin should be transmitted. * If only h is included, it should be considered an exact requirement. */ hmin?: (number|null); /** * Whitelist of content MIME types supported. Popular MIME types include, but are not * limited to "image/jpg" and "image/gif". Each implementing Exchange should have their * own list of supported types in the integration docs. See Wikipedia's MIME page for * more information and links to all IETF RFCs. If blank, assume all types are allowed. */ mimes?: (string[]|null); } /** * OpenRTB Native 4.4: The Image object to be used for all image elements of the * Native ad such as Icons, Main Image, etc. */ class Image implements IImage { /** * Constructs a new Image. * @param [properties] Properties to set */ constructor(properties?: openrtb.NativeRequest.Asset.IImage); /** * Type ID of the image element supported by the publisher. * The publisher can display this information in an appropriate format. */ public type: openrtb.NativeRequest.Asset.Image.ImageAssetType; /** Width of the image in pixels. */ public w: number; /** Height of the image in pixels. */ public h: number; /** * The minimum requested width of the image in pixels. This option should be used for any * rescaling of images by the client. Either w or wmin should be transmitted. * If only w is included, it should be considered an exact requirement. */ public wmin: number; /** * The minimum requested height of the image in pixels. This option should be used for any * rescaling of images by the client. Either h or hmin should be transmitted. * If only h is included, it should be considered an exact requirement. */ public hmin: number; /** * Whitelist of content MIME types supported. Popular MIME types include, but are not * limited to "image/jpg" and "image/gif". Each implementing Exchange should have their * own list of supported types in the integration docs. See Wikipedia's MIME page for * more information and links to all IETF RFCs. If blank, assume all types are allowed. */ public mimes: string[]; /** * Creates a new Image instance using the specified properties. * @param [properties] Properties to set * @returns Image instance */ public static create(properties?: openrtb.NativeRequest.Asset.IImage): openrtb.NativeRequest.Asset.Image; /** * Encodes the specified Image message. Does not implicitly {@link openrtb.NativeRequest.Asset.Image.verify|verify} messages. * @param message Image message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.NativeRequest.Asset.IImage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Image message, length delimited. Does not implicitly {@link openrtb.NativeRequest.Asset.Image.verify|verify} messages. * @param message Image message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.NativeRequest.Asset.IImage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Image message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Image * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.NativeRequest.Asset.Image; /** * Decodes an Image message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Image * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.NativeRequest.Asset.Image; /** * Verifies an Image message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Image message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Image */ public static fromObject(object: { [k: string]: any }): openrtb.NativeRequest.Asset.Image; /** * Creates a plain object from an Image message. Also converts values to other types if specified. * @param message Image * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.NativeRequest.Asset.Image, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Image to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace Image { /** * OpenRTB Native 7.4: Common image asset element types of native advertising at * the time of writing this spec. This list is non-exhaustive and intended to be * extended by the buyers and sellers as the format evolves. */ enum ImageAssetType { ICON = 1, LOGO = 2, MAIN = 3 } } /** Properties of a Data. */ interface IData { /** * Type ID of the element supported by the publisher. The publisher can display this * information in an appropriate format. */ type?: (openrtb.NativeRequest.Asset.Data.DataAssetType|null); /** Maximum length of the text in the element's response. */ len?: (number|null); } /** * OpenRT Native 4.6: The Data Object is to be used for all non-core elements of the * native unit such as Ratings, Review Count, Stars, Download count, descriptions etc. * It is also generic for future of Native elements not contemplated at the time of the * writing of this document. */ class Data implements IData { /** * Constructs a new Data. * @param [properties] Properties to set */ constructor(properties?: openrtb.NativeRequest.Asset.IData); /** * Type ID of the element supported by the publisher. The publisher can display this * information in an appropriate format. */ public type: openrtb.NativeRequest.Asset.Data.DataAssetType; /** Maximum length of the text in the element's response. */ public len: number; /** * Creates a new Data instance using the specified properties. * @param [properties] Properties to set * @returns Data instance */ public static create(properties?: openrtb.NativeRequest.Asset.IData): openrtb.NativeRequest.Asset.Data; /** * Encodes the specified Data message. Does not implicitly {@link openrtb.NativeRequest.Asset.Data.verify|verify} messages. * @param message Data message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: openrtb.NativeRequest.Asset.IData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Data message, length delimited. Does not implicitly {@link openrtb.NativeRequest.Asset.Data.verify|verify} messages. * @param message Data message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: openrtb.NativeRequest.Asset.IData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Data message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Data * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): openrtb.NativeRequest.Asset.Data; /** * Decodes a Data message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Data * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): openrtb.NativeRequest.Asset.Data; /** * Verifies a Data message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Data message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Data */ public static fromObject(object: { [k: string]: any }): openrtb.NativeRequest.Asset.Data; /** * Creates a plain object from a Data message. Also converts values to other types if specified. * @param message Data * @param [options] Conversion options * @returns Plain object */ public static toObject(message: openrtb.NativeRequest.Asset.Data, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Data to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace Data { /** * OpenRTB Native 7.3: Common asset element types of native advertising. * This list is non-exhaustive and intended to be extended by the buyers and sellers * as the format evolves. An implementing exchange may not support all asset variants * or introduce new ones unique to that system. */ enum DataAssetType { SPONSORED = 1, DESC = 2, RATING = 3, LIKES = 4, DOWNLOADS = 5, PRICE = 6, SALEPRICE = 7, PHONE = 8, ADDRESS = 9, DESC2 = 10, DISPLAYURL = 11, CTATEXT = 12, STORE = 500 } } } } /** Properties of a NativeResponse. */ interface INativeResponse { /** Version of the Native Markup version in use. */ ver?: (string|null); /** List of native ad's assets. */ assets?: (openrtb.NativeResponse.IAsset[]|null); /** Destination Link. */ link: openrtb.NativeResponse.ILink; /** * Array of impression tracking URLs, expected to return a 1x1 image or 204 response - * typically only passed when using 3rd party trackers. */ imptrackers?: (string[]|null); /** * Optional javascript impression tracker. Contains