diff --git a/app_doc/ad_api_v2.md b/app_doc/ad_api_v2.md index 5484320..bd0c5bd 100644 --- a/app_doc/ad_api_v2.md +++ b/app_doc/ad_api_v2.md @@ -30,7 +30,8 @@ SUCCESS: "fullScreen": 1, // Integer 是否全屏, 0:否, 1:是 "open": 1, // Integer 兼容之前的可以忽略 "selectProbability": 30, // Number 选择的机率 - "priority": 29 // Integer 优先级 + "priority": 29, // Integer 优先级 + "maxShowTimes": -1 // 最大展示次数, -1表示不限制 }, { "id": "ad12", @@ -41,7 +42,8 @@ SUCCESS: "fullScreen": 1, "open": 1, "selectProbability": 30, - "priority": 30 + "priority": 30, + "maxShowTimes": -1 } ], "open": 1 // 是否开启启动页广告 @@ -85,7 +87,8 @@ SUCCESS: "position": 3, // Integer 广告挂载的位置 "open": 1, // Integer 兼容之前的可以忽略 "selectProbability": 30, // Number 选择的机率 - "priority": 29 // 优先级 + "priority": 29, // 优先级 + "maxShowTimes": -1 // 最大展示次数, -1表示不限制 }, { "id": "ad22", @@ -96,7 +99,8 @@ SUCCESS: "position": 6, "open": 1, "selectProbability": 30, - "priority": 30 + "priority": 30, + "maxShowTimes": -1 } ], "open": 1 @@ -138,6 +142,7 @@ ResponseBody: "adPlatformId": "csjplatform", // String 广告平台ID "selectProbability": 30, // Number 选择的机率 "priority": 29, // Integer 优先级 + "maxShowTimes": -1 // 最大展示次数, -1表示不限制 }, { "id": "ad32", @@ -145,7 +150,8 @@ ResponseBody: "adAppId": "1200336731", "adPlatformId": "qqadnet", "selectProbability": 30, - "priority": 30 + "priority": 30, + "maxShowTimes": -1 }, { "id": "ad41", @@ -153,7 +159,8 @@ ResponseBody: "adAppId": "5287243", "adPlatformId": "csjplatform", "selectProbability": 30, - "priority": 29 + "priority": 29, + "maxShowTimes": -1 }, { "id": "ad42", @@ -161,7 +168,8 @@ ResponseBody: "adAppId": "1200336731", "adPlatformId": "qqadnet", "selectProbability": 30, - "priority": 30 + "priority": 30, + "maxShowTimes": -1 } ], "showTimeInterval": "10000", // String 切换时间 @@ -179,7 +187,8 @@ ResponseBody: "priority": 29, // Integer 优先级 "probability": 20, // Integer 概率,范围 0~100 "selectProbability": 30, // Number 选择的机率 - "open": 1 // Integer 兼容之前的参数可以忽略 + "open": 1, // Integer 兼容之前的参数可以忽略 + "maxShowTimes": -1 // 最大展示次数, -1表示不限制 }, { "id": "ad52", @@ -190,7 +199,8 @@ ResponseBody: "probability": 20, "selectProbability": 30, "priority": 30, - "open": 1 + "open": 1, + "maxShowTimes": -1 } ], "open": 1