Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
321a1ae8
Commit
321a1ae8
authored
Aug 10, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
266a2479
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
+19
-9
ad_api_v2.md
app_doc/ad_api_v2.md
+19
-9
No files found.
app_doc/ad_api_v2.md
View file @
321a1ae8
...
@@ -30,7 +30,8 @@ SUCCESS:
...
@@ -30,7 +30,8 @@ SUCCESS:
"fullScreen": 1, // Integer 是否全屏, 0:否, 1:是
"fullScreen": 1, // Integer 是否全屏, 0:否, 1:是
"open": 1, // Integer 兼容之前的可以忽略
"open": 1, // Integer 兼容之前的可以忽略
"selectProbability": 30, // Number 选择的机率
"selectProbability": 30, // Number 选择的机率
"priority": 29 // Integer 优先级
"priority": 29, // Integer 优先级
"maxShowTimes": -1 // 最大展示次数, -1表示不限制
},
},
{
{
"id": "ad12",
"id": "ad12",
...
@@ -41,7 +42,8 @@ SUCCESS:
...
@@ -41,7 +42,8 @@ SUCCESS:
"fullScreen": 1,
"fullScreen": 1,
"open": 1,
"open": 1,
"selectProbability": 30,
"selectProbability": 30,
"priority": 30
"priority": 30,
"maxShowTimes": -1
}
}
],
],
"open": 1 // 是否开启启动页广告
"open": 1 // 是否开启启动页广告
...
@@ -85,7 +87,8 @@ SUCCESS:
...
@@ -85,7 +87,8 @@ SUCCESS:
"position": 3, // Integer 广告挂载的位置
"position": 3, // Integer 广告挂载的位置
"open": 1, // Integer 兼容之前的可以忽略
"open": 1, // Integer 兼容之前的可以忽略
"selectProbability": 30, // Number 选择的机率
"selectProbability": 30, // Number 选择的机率
"priority": 29 // 优先级
"priority": 29, // 优先级
"maxShowTimes": -1 // 最大展示次数, -1表示不限制
},
},
{
{
"id": "ad22",
"id": "ad22",
...
@@ -96,7 +99,8 @@ SUCCESS:
...
@@ -96,7 +99,8 @@ SUCCESS:
"position": 6,
"position": 6,
"open": 1,
"open": 1,
"selectProbability": 30,
"selectProbability": 30,
"priority": 30
"priority": 30,
"maxShowTimes": -1
}
}
],
],
"open": 1
"open": 1
...
@@ -138,6 +142,7 @@ ResponseBody:
...
@@ -138,6 +142,7 @@ ResponseBody:
"adPlatformId": "csjplatform", // String 广告平台ID
"adPlatformId": "csjplatform", // String 广告平台ID
"selectProbability": 30, // Number 选择的机率
"selectProbability": 30, // Number 选择的机率
"priority": 29, // Integer 优先级
"priority": 29, // Integer 优先级
"maxShowTimes": -1 // 最大展示次数, -1表示不限制
},
},
{
{
"id": "ad32",
"id": "ad32",
...
@@ -145,7 +150,8 @@ ResponseBody:
...
@@ -145,7 +150,8 @@ ResponseBody:
"adAppId": "1200336731",
"adAppId": "1200336731",
"adPlatformId": "qqadnet",
"adPlatformId": "qqadnet",
"selectProbability": 30,
"selectProbability": 30,
"priority": 30
"priority": 30,
"maxShowTimes": -1
},
},
{
{
"id": "ad41",
"id": "ad41",
...
@@ -153,7 +159,8 @@ ResponseBody:
...
@@ -153,7 +159,8 @@ ResponseBody:
"adAppId": "5287243",
"adAppId": "5287243",
"adPlatformId": "csjplatform",
"adPlatformId": "csjplatform",
"selectProbability": 30,
"selectProbability": 30,
"priority": 29
"priority": 29,
"maxShowTimes": -1
},
},
{
{
"id": "ad42",
"id": "ad42",
...
@@ -161,7 +168,8 @@ ResponseBody:
...
@@ -161,7 +168,8 @@ ResponseBody:
"adAppId": "1200336731",
"adAppId": "1200336731",
"adPlatformId": "qqadnet",
"adPlatformId": "qqadnet",
"selectProbability": 30,
"selectProbability": 30,
"priority": 30
"priority": 30,
"maxShowTimes": -1
}
}
],
],
"showTimeInterval": "10000", // String 切换时间
"showTimeInterval": "10000", // String 切换时间
...
@@ -179,7 +187,8 @@ ResponseBody:
...
@@ -179,7 +187,8 @@ ResponseBody:
"priority": 29, // Integer 优先级
"priority": 29, // Integer 优先级
"probability": 20, // Integer 概率,范围 0~100
"probability": 20, // Integer 概率,范围 0~100
"selectProbability": 30, // Number 选择的机率
"selectProbability": 30, // Number 选择的机率
"open": 1 // Integer 兼容之前的参数可以忽略
"open": 1, // Integer 兼容之前的参数可以忽略
"maxShowTimes": -1 // 最大展示次数, -1表示不限制
},
},
{
{
"id": "ad52",
"id": "ad52",
...
@@ -190,7 +199,8 @@ ResponseBody:
...
@@ -190,7 +199,8 @@ ResponseBody:
"probability": 20,
"probability": 20,
"selectProbability": 30,
"selectProbability": 30,
"priority": 30,
"priority": 30,
"open": 1
"open": 1,
"maxShowTimes": -1
}
}
],
],
"open": 1
"open": 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment