2021-02-03 00:02:04 +08:00
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
|
|
package bilibili.ad.v1;
|
|
|
|
|
|
|
|
|
|
import "google/protobuf/wrappers.proto";
|
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告控制
|
|
|
|
|
message AdsControlDto {
|
|
|
|
|
// 视频是否有弹幕,如有,需请求弹幕广告
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 has_danmu = 1;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 有弹幕的分P视频的cid
|
|
|
|
|
repeated int64 cids = 2;
|
|
|
|
|
// 有弹幕的ogv ep
|
|
|
|
|
repeated AdOgvEpDto eps = 3;
|
|
|
|
|
}
|
2021-02-03 00:02:04 +08:00
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 有弹幕的ogv ep
|
|
|
|
|
message AdOgvEpDto {
|
|
|
|
|
// 分集epid
|
|
|
|
|
int64 epid = 1;
|
|
|
|
|
// 是否显示 "荐"
|
2021-07-12 16:37:03 +08:00
|
|
|
|
bool has_recommend = 2;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
}
|
2021-02-03 00:02:04 +08:00
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告数据
|
|
|
|
|
message SourceContentDto {
|
|
|
|
|
// 广告请求id
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string request_id = 1;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告资源位source ID
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 source_id = 2;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告资源位resource ID
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 resource_id = 3;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告位上报标记,对广告返回数据恒为true
|
2021-07-12 16:37:03 +08:00
|
|
|
|
bool is_ad_loc = 4;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 与天马现有逻辑一致, 0有含义
|
|
|
|
|
// 0:内容 1:广告
|
2021-07-12 16:37:03 +08:00
|
|
|
|
google.protobuf.Int32Value server_type = 5;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 客户端IP回传拼接
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string client_ip = 6;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告卡片位置在一刷中的位置, 天马用, 0有含义
|
2021-07-12 16:37:03 +08:00
|
|
|
|
google.protobuf.Int32Value card_index = 7;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告资源位source 位次
|
|
|
|
|
int32 index = 8;
|
|
|
|
|
// 广告内容
|
2021-07-12 16:37:03 +08:00
|
|
|
|
AdDto ad_content = 9;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
}
|
2021-02-03 00:02:04 +08:00
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告内容
|
|
|
|
|
message AdDto {
|
|
|
|
|
// 广告创意ID
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 creative_id = 1;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告闭环上报回传数据
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string ad_cb = 2;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 额外广告数据
|
|
|
|
|
AdContentExtraDto extra = 3;
|
|
|
|
|
// 广告标记
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 cm_mark = 4;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 top_view_id = 5;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 creative_type = 6;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 card_type = 7;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 creative_style = 8;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 is_ad = 9;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
CreativeDto creative_content = 10;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
}
|
2021-02-03 00:02:04 +08:00
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 额外广告数据
|
|
|
|
|
message AdContentExtraDto {
|
|
|
|
|
// 动态布局
|
|
|
|
|
string layout = 1;
|
|
|
|
|
// 展现监控url
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string show_urls = 2;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 点击监控url
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string click_urls = 3;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕创意列表展示第三方上报
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string danmu_list_show_urls = 4;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕创意列表点击第三方上报
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string danmu_list_click_urls = 5;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕详情页展示第三方上报
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string danmu_detail_show_urls = 6;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕商品添加购物车第三方上报
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string danmu_trolley_add_urls = 7;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// useWebView默认false
|
2021-07-12 16:37:03 +08:00
|
|
|
|
bool use_ad_web_v2 = 8;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// app唤起白名单
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string open_whitelist = 9;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// app下载白名单
|
2021-07-12 16:37:03 +08:00
|
|
|
|
AppPackageDto download_whitelist = 10;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 卡片相关信息
|
|
|
|
|
AdCardDto card = 11;
|
|
|
|
|
// 视频播放和弹幕播放上报控制时间 ms
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 report_time = 12;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 是否优先唤起app store
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 appstore_priority = 13;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告售卖类型
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 sales_type = 14;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 落地页是否预加载
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 preload_landingpage = 15;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 是否需要展示风险行业提示
|
2021-07-12 16:37:03 +08:00
|
|
|
|
bool special_industry = 16;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 风险行业提示
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string special_industry_tips = 17;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 是否展示下载弹框
|
2021-07-12 16:37:03 +08:00
|
|
|
|
bool enable_download_dialog = 18;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 是否允许分享
|
2021-07-12 16:37:03 +08:00
|
|
|
|
bool enable_share = 19;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 个人空间广告入口类型
|
|
|
|
|
// 1:橱窗 2:商品店铺 3:小程序
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 upzone_entrance_type = 20;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 个人空间广告入口上报id,橱窗id(当前用Mid)、店铺id或者小程序id
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 upzone_entrance_report_id = 21;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 分享数据
|
2021-07-12 16:37:03 +08:00
|
|
|
|
AdShareInfoDto share_info = 22;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// topview图片链接,闪屏预下载用
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string topview_pic_url = 23;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// topview视频链接,闪屏预下载用
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string topview_video_url = 24;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 点击区域
|
|
|
|
|
// 0:表示banner可点击 1:表示素材可点击
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 click_area = 25;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 店铺
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 shop_id = 26;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// up主
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 up_mid = 27;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 回传id
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string track_id = 28;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 商店直投
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 enable_store_direct_launch = 29;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// DPA2.0商品ID
|
|
|
|
|
int64 product_id = 30;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
2021-06-14 01:33:41 +08:00
|
|
|
|
message CreativeDto {
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-06-14 01:33:41 +08:00
|
|
|
|
string title = 1;
|
|
|
|
|
//
|
|
|
|
|
string description = 2;
|
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string image_url = 3;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string image_md5 = 4;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
|
|
|
|
string url = 5;
|
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string click_url = 6;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string show_url = 7;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 video_id = 8;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string thumbnail_url = 9;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string thumbnail_url_md5 = 10;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string logo_url = 11;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string logo_md5 = 12;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
|
|
|
|
string username = 13;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// app下载白名单
|
|
|
|
|
message AppPackageDto {
|
|
|
|
|
// 包大小(单位bytes)
|
|
|
|
|
int64 size = 1;
|
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string display_name = 2;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string apk_name = 3;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// url
|
|
|
|
|
string url = 4;
|
|
|
|
|
// bili schema url
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string bili_url = 5;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 包md5
|
|
|
|
|
string md5 = 6;
|
|
|
|
|
// 包icon
|
|
|
|
|
string icon = 7;
|
|
|
|
|
// 开发者姓名
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string dev_name = 8;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 权限地址
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string auth_url = 9;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 权限名,逗号隔开
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string auth_name = 10;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 版本
|
|
|
|
|
string version = 11;
|
|
|
|
|
// 更新时间,yy-mm-hh格式
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string update_time = 12;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 隐私协议标题
|
|
|
|
|
string privacy_name = 13;
|
|
|
|
|
// 隐私协议url
|
|
|
|
|
string privacy_url = 14;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 卡片
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message AdCardDto {
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 卡片类型
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 card_type = 1;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 标题
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string title = 2;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 描述
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string desc = 3;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 额外描述
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string extra_desc = 4;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 长描述
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string long_desc = 5;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 短标题, 弹幕广告目录面板标题
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string short_title = 6;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕/浮层广告的弹幕标题
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string danmu_title = 7;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕/浮层广告的弹幕高度,整型,分母为100
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 danmu_height = 8;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕/浮层广告的弹幕宽度,整型,分母为100
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 danmu_width = 9;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕/浮层广告生存时间,单位为毫秒
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 danmu_life = 10;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕/浮层开始时间,单位为毫秒
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 danmu_begin = 11;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 背景色值(含透明度)如#80FFFFFF
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string danmu_color = 12;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕/浮层广告H5落地页
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string danmu_h5url = 13;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 弹幕/浮层 广告icon
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string danmu_icon = 14;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 折叠时间,永驻浮层折叠时间,单位为毫秒
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 fold_time = 15;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告标文案
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string ad_tag = 16;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// cover数组
|
2021-02-03 00:02:04 +08:00
|
|
|
|
repeated AdCoverDto covers = 17;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 卡片跳转链接
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string jump_url = 18;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string imax_landing_page_json_string = 19;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// app唤起schema
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string callup_url = 20;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// univeral link域名
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string universal_app = 21;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 原价, 单位为分
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string ori_price = 22;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 现价, 同上
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 cur_price = 23;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 券后/现价 价格描述
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string price_desc = 24;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 价格单位符号
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string price_symbol = 25;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 券后价格 "1000"
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string goods_cur_price = 26;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 原价 "¥1002"
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string goods_ori_price = 27;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 开放平台商品
|
2021-02-03 00:02:04 +08:00
|
|
|
|
AdGoodDto good = 28;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 打分? 满分为100
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 rank = 29;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 热度
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 hot_score = 30;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 按钮
|
2021-02-03 00:02:04 +08:00
|
|
|
|
AdButtonDto button = 31;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告主logo
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string adver_logo = 32;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告主name
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string adver_name = 33;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告主主页链接
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string adver_page_url = 34;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 视频弹幕,视频广告用
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string video_barrage = 35;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 商业标信息
|
2021-07-12 16:37:03 +08:00
|
|
|
|
AdBusinessMarkDto ad_tag_style = 36;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 自动播放视频
|
2021-02-03 00:02:04 +08:00
|
|
|
|
AdAutoPlayVideoDto video = 37;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 反馈面板功能模块,屏蔽、投诉、广告介绍
|
2021-07-12 16:37:03 +08:00
|
|
|
|
AdFeedbackPanelDto feedback_panel = 38;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 adver_mid = 39;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 adver_account_id = 40;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
|
|
|
|
string duration = 41;
|
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated QualityInfo quality_infos = 42;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 动态广告文本
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string dynamic_text = 43;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告主信息
|
2021-02-03 00:02:04 +08:00
|
|
|
|
AdverDto adver = 44;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 评分
|
|
|
|
|
int32 grade_level = 45;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 分享
|
|
|
|
|
message AdShareInfoDto {
|
|
|
|
|
// 分享标题
|
|
|
|
|
string title = 1;
|
|
|
|
|
// 分享副标题
|
|
|
|
|
string subtitle = 2;
|
|
|
|
|
// 分享图片url
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string image_url = 3;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告卡片封面数据
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message AdCoverDto {
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 图片链接
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string url = 1;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 动图循环次数
|
|
|
|
|
// 0:无限循环
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 loop = 2;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 图片点击跳转地址,截至目前为空
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string jump_url = 3;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 跳转监测链接, 数组,单个图片的监控,出区别于click_urls,应前端要求。(此字段截至目前为空,使用时需再次确认)
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string report_urls = 4;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 图片高度
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 image_height = 5;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 图片宽度
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 image_width = 6;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 按钮
|
|
|
|
|
message AdButtonDto {
|
|
|
|
|
// 类型
|
|
|
|
|
// 1:落地页 2:应用唤起 3:应用下载
|
|
|
|
|
int32 type = 1;
|
|
|
|
|
// 按钮文案
|
|
|
|
|
string text = 2;
|
|
|
|
|
// 按钮跳转地址
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string jump_url = 3;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 跳转监测链接
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string report_urls = 4;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 唤起schema
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string dlsuc_callup_url = 5;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
//游戏id
|
|
|
|
|
int32 game_id = 6;
|
|
|
|
|
//游戏监控字段
|
|
|
|
|
string game_monitor_param = 7;
|
|
|
|
|
}
|
2021-02-03 00:02:04 +08:00
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 商业标信息
|
|
|
|
|
message AdBusinessMarkDto {
|
|
|
|
|
// 商业标样式
|
|
|
|
|
// 0:不展示标 1:实心+文字 2:空心框+文字 3:纯文字标 4:纯图片标
|
|
|
|
|
int32 type = 1;
|
|
|
|
|
// 商业标文案
|
|
|
|
|
string text = 2;
|
|
|
|
|
// 商业标文案颜色,如#80FFFFFF RGBA
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string text_color = 3;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 夜间模式文字色
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string text_color_night = 4;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 背景色
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string bg_color = 5;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 夜间模式背景色
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string bg_color_night = 6;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 边框色
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string border_color = 7;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 夜间模式边框色
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string border_color_night = 8;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 图片商业标
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string img_url = 9;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 图片高度
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 img_height = 10;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 图片宽度
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 img_width = 11;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string bg_border_color = 12;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
}
|
2021-02-03 00:02:04 +08:00
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 自动播放视频
|
|
|
|
|
message AdAutoPlayVideoDto {
|
|
|
|
|
// avid
|
|
|
|
|
int64 avid = 1;
|
|
|
|
|
// cid
|
|
|
|
|
int64 cid = 2;
|
|
|
|
|
// 分P
|
|
|
|
|
int64 page = 3;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-06-14 01:33:41 +08:00
|
|
|
|
string from = 4;
|
|
|
|
|
// 是否自动播放
|
|
|
|
|
string url = 5;
|
|
|
|
|
// 是否自动播放
|
|
|
|
|
string cover = 6;
|
|
|
|
|
// 是否自动播放
|
2021-07-12 16:37:03 +08:00
|
|
|
|
bool auto_play = 7;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 按钮是否动态变色
|
2021-07-12 16:37:03 +08:00
|
|
|
|
bool btn_dyc_color = 8;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 按钮动态变色时间 ms
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 btn_dyc_time = 9;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 用于做联播是否是同一个视频的id
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 biz_id = 10;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 开始播放三方监控
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string process0_urls = 11;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 播放3S三方监控
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string play_3s_urls = 12;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 播放5S三方监控
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated string play_5s_urls = 13;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 横竖屏
|
|
|
|
|
int32 orientation = 14;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 反馈面板功能模块
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message AdFeedbackPanelDto {
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 面板类型,广告、推广
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string panel_type_text = 1;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 反馈面版信息
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated AdFeedbackPanelModuleDto feedback_panel_detail = 2;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 反馈面版信息
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message AdFeedbackPanelModuleDto {
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 模块id
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 module_id = 1;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// icon url
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string icon_url = 2;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 跳转类型
|
|
|
|
|
// 1:气泡 2:H5
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 jump_type = 3;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 跳转地址
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string jump_url = 4;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 文案
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string text = 5;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 二级文案数组
|
2021-07-12 16:37:03 +08:00
|
|
|
|
repeated AdSecondFeedbackPanelDto secondary_panel = 6;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
}
|
2021-02-03 00:02:04 +08:00
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 二级文案
|
|
|
|
|
message AdSecondFeedbackPanelDto {
|
|
|
|
|
// 屏蔽理由id
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 reason_id = 1;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 理由文案
|
|
|
|
|
string text = 2;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 开放平台商品
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message AdGoodDto {
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 电商商品ID
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 item_id = 1;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 电商SKU ID
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 sku_id = 2;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 店铺ID
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 shop_id = 3;
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// SKU库存
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 sku_num = 4;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
2021-06-14 01:33:41 +08:00
|
|
|
|
message QualityInfo {
|
|
|
|
|
//
|
|
|
|
|
string icon = 1;
|
|
|
|
|
//
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string text = 2;
|
2021-07-12 16:37:03 +08:00
|
|
|
|
//
|
|
|
|
|
bool is_bg = 3;
|
|
|
|
|
//
|
|
|
|
|
string bg_color = 4;
|
|
|
|
|
//
|
|
|
|
|
string bg_color_night = 5;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
|
// 广告主信息
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message AdverDto {
|
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int64 adver_id = 1;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string adver_logo = 2;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string adver_name = 3;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
int32 adver_type = 4;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string adver_page_url = 5;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
|
string adver_desc = 6;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|