message BidRequest { message Exchange { optional string version = 1; optional string bid_id = 2; optional int32 adx_id = 3; } message User { optional string user_exid = 1; optional string user_yyid = 2; optional string user_ip = 3; optional string adx_crowd_tags = 4; optional string user_agent = 5; optional .bidserver.GenderType user_gender = 6 [default = GENDER_TYPE_UNKNOWN]; optional string user_crowd_tags = 7; optional string baidu_user_id = 8; optional string baidu_user_id_yoyi_cookie = 9; repeated string baidu_tag_id = 10; optional uint64 boss_qq = 11; optional uint64 user_area = 12; optional uint64 user_age = 13; optional string adx_cookie = 14; optional string yoyi_cookie = 15; optional uint32 user_yyid_type = 16; optional string user_ipv6 = 17; } message Adzone { message Video { optional string title = 1; optional int32 duration = 2; repeated string keywords = 3; repeated .bidserver.VideoFormat video_format = 4; optional int32 video_start_delay = 5; optional int32 min_ad_duration = 6; optional int32 max_ad_duration = 7; optional string protocol = 8; optional string program_id = 9; optional string channel_id = 10; repeated string yy_channel_id = 11; optional bool support_video_ad = 12; } message ASSET { optional int32 asset_id = 1; optional string asset_type = 2; optional int32 width = 3; optional int32 height = 4; optional bool is_required = 5; optional string adx_asset_name = 6; } message IMAGE { optional int32 width = 1; optional int32 height = 2; } message VIDEO { optional int32 width = 1; optional int32 height = 2; } message NATIVE { optional int32 native_id = 1; optional bool is_deep_link = 2; optional bool native_use_dimession_filter = 3; repeated .bidserver.BidRequest.Adzone.ASSET assets = 4; optional int32 width = 5; optional int32 height = 6; optional int32 video_width = 7; optional int32 video_height = 8; repeated .bidserver.BidRequest.Adzone.IMAGE image = 9; repeated .bidserver.BidRequest.Adzone.VIDEO video = 10; optional int32 tpl_id = 11; } message PMP { enum DealType { DEAL_TYPE_UNINIT = 0; DEAL_TYPE_PREFER_DEAL = 1; DEAL_TYPE_PRIVATE_AUTION = 2; DEAL_TYPE_PROGRAMMATIC_DIRECT_BUY = 3; } optional string deal_id = 1; optional .bidserver.BidRequest.Adzone.PMP.DealType deal_type = 2 [default = DEAL_TYPE_UNINIT]; optional int32 deal_price = 3; optional int32 return_rate = 4; optional bool dis_enable = 5; optional int32 priority_type = 6; optional int32 limit_rates = 7; repeated uint64 area_list = 8; repeated string swap_deal_id = 9; repeated .bidserver.FreqSwapDeal freq_swap_deal = 10; optional uint64 schedule_impression = 11; optional uint64 start_ts = 12; optional uint64 end_ts = 13; } message OTT { required bool is_pre_load = 1; repeated int32 pre_adid = 2; optional bool is_retail_mode = 3; } message IndustryReservePrice { optional string industry = 1; optional int32 reserve_price = 2; } optional string pid = 1; optional string adz_id = 2; optional .bidserver.AdzoneType adz_type = 3 [default = ADZONE_TYPE_BANNER]; optional int32 view_type = 4; optional int32 adz_width = 5; optional int32 adz_height = 6; optional uint32 adz_ad_count = 7; optional uint32 adz_position = 8; optional int32 reserve_price = 9; repeated string exclude_landing_page_url = 10; repeated int32 creative_specs = 11; repeated string seat_ids = 12; optional .bidserver.BidRequest.Adzone.Video video = 13; repeated .bidserver.BidRequest.Adzone.NATIVE native = 14; repeated .bidserver.BidRequest.Adzone.PMP pmp = 16; optional bool is_deep_link = 17; repeated string billing_id = 18; repeated string mimes = 19; repeated .bidserver.BidRequest.Adzone.OTT ott = 20; optional string imp_date = 21; optional .bidserver.PreloadAdzFormat preload_adz_type = 22 [default = PRELOAD_ADZ_NO]; optional string sub_media = 23; optional bool syn_click = 24; optional bool is_support_dynamic = 25 [default = false]; repeated string filter_attr_ids = 26; optional bool support_banner_ad = 27; repeated .bidserver.StyleType style_types = 28; repeated string template_ids = 29; repeated .bidserver.LandType land_types = 30; repeated .bidserver.BidRequest.Adzone.IndustryReservePrice industry_reserve_price = 31; optional string bidfloorcur = 32; } message Site { optional string url = 1; optional string refer = 2; optional string category = 3; repeated string content_category = 4; repeated string inapp_app_category = 5; repeated string sensitive_category = 6; repeated string excluded_product_category = 7; optional string second_category = 8; optional string yy_category = 9; optional string yy_second_category = 10; repeated string yy_app_category = 11; repeated string yy_primary_category = 12; } message Mobile { message CaidInfo { optional string caid = 1; optional string caid_md5 = 2; required string version = 3; } optional bool is_app = 1; optional string device_os = 2; optional string device_os_version = 3; optional string device_model = 4; optional string device_brand = 5; optional string device_id = 6; optional float longtitude = 7; optional float latitude = 8; optional uint32 network = 9; optional string device_type = 10; optional int32 operator = 11; optional bool is_fullscreen = 12; optional string app_id = 13; optional string device_resolution = 14; optional string imei = 15; optional string idfa = 16; optional string mac = 17; optional string android_id = 18; optional string app_name = 19; optional string md5_imei = 20; optional string md5_android_id = 21; optional string md5_mac = 22; optional string md5_duid = 23; optional string duid = 24; optional string phone_num = 25; optional string device_pixel_ratio = 26; optional string screen_orientation = 27; optional int32 media_quality = 28; optional string app_bundle = 29; optional string md5_idfa = 30; optional string oaid = 31; optional string md5_oaid = 32; optional string device_size = 33; optional string caid_200901 = 34; optional string caid_201230 = 35; optional string latest_caid = 36; repeated int32 app_interaction_type = 37; optional string openudid = 38; repeated .bidserver.BidRequest.Mobile.CaidInfo caid_info = 39; optional string md5_caid = 40; repeated string installed_app = 41; repeated string wake_app = 42; } optional string session_id = 1; optional string bucket_id = 2; optional string host_nodes = 3; optional string detected_language = 4; optional string anonymous_id = 5; optional int32 timezone_offset = 6; repeated string keywords = 7; optional .bidserver.BidRequest.Exchange exchange = 8; optional .bidserver.BidRequest.User user = 9; repeated .bidserver.BidRequest.Adzone adzone = 10; optional .bidserver.BidRequest.Site site = 11; optional .bidserver.BidRequest.Mobile mobile = 12; optional bool is_https = 13; optional .bidserver.PlatFormType platform_type = 14; optional bool debug = 15; optional string dsp_code = 16; }