a
This commit is contained in:
commit
a983d27a00
47
ad_Readme.md
47
ad_Readme.md
@ -2,7 +2,11 @@
|
|||||||
|
|
||||||
##### 接口地址
|
##### 接口地址
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
http://spread.kingsome.cn/webapp/index.php
|
http://spread.kingsome.cn/webapp/index.php
|
||||||
|
=======
|
||||||
|
http://promotion.kingsome.cn/webapp/index.php
|
||||||
|
>>>>>>> 6e5b56e1f53a0da5d470390653689d7507b00dea
|
||||||
|
|
||||||
##### 返回格式:json
|
##### 返回格式:json
|
||||||
|
|
||||||
@ -10,7 +14,12 @@ http://spread.kingsome.cn/webapp/index.php
|
|||||||
|
|
||||||
##### 请求示范
|
##### 请求示范
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
http://spread.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"10034","locationid":1001}
|
http://spread.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"10034","locationid":1001}
|
||||||
|
=======
|
||||||
|
http://promotion.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"1003","channelid":6001,"locationid":1001}
|
||||||
|
http://promotion.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"1004","channelid":6001,"area":1}
|
||||||
|
>>>>>>> 6e5b56e1f53a0da5d470390653689d7507b00dea
|
||||||
|
|
||||||
##### 请求参数说明
|
##### 请求参数说明
|
||||||
|
|
||||||
@ -18,7 +27,7 @@ http://spread.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"100
|
|||||||
| --------- | ---- | ---- | ---------------------------------- |
|
| --------- | ---- | ---- | ---------------------------------- |
|
||||||
| c | string | 是 | OPS通用接口标志 |
|
| c | string | 是 | OPS通用接口标志 |
|
||||||
| a | string | 是 | 方法定义 当前为getAdList |
|
| a | string | 是 | 方法定义 当前为getAdList |
|
||||||
| body | string | 是 | 参数体,JSON格式,gameid,locationid作为key |
|
| body | string | 是 | 参数体,JSON格式,gameid,channelid,locationid作为key |
|
||||||
|
|
||||||
##### 返回参数说明
|
##### 返回参数说明
|
||||||
|
|
||||||
@ -34,6 +43,10 @@ http://spread.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"100
|
|||||||
| name | string | 是 | 广告名称 |
|
| name | string | 是 | 广告名称 |
|
||||||
| jump_status | int | 是 | 跳转状态,1=跳转,0=不跳 |
|
| jump_status | int | 是 | 跳转状态,1=跳转,0=不跳 |
|
||||||
| jump_param | string | 是 | 跳转参数 |
|
| jump_param | string | 是 | 跳转参数 |
|
||||||
|
| area | string | 是 | 区域(第一元素:1=首页,2=游戏中,3=结算页,4=关闭,第二元素:X轴第三元素:Y轴,其中X,Y取值范围(0,15))如(1,0,0)代表首页左上 |
|
||||||
|
| type | int | 是 | 类型(1=icon,2=banner,3=浮窗) |
|
||||||
|
| mode | int | 是 | 广告单播或轮播模式(1=单播,2=轮播) |
|
||||||
|
| ad_property | string | 是 | 广告属性描述 |
|
||||||
|
|
||||||
|
|
||||||
##### 返回示例
|
##### 返回示例
|
||||||
@ -41,25 +54,37 @@ http://spread.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"100
|
|||||||
"errcode": 0,
|
"errcode": 0,
|
||||||
"errmsg": "",
|
"errmsg": "",
|
||||||
"message": {
|
"message": {
|
||||||
"totoal": 3,
|
"totoal": 1,
|
||||||
"result": [
|
"result": [
|
||||||
{
|
{
|
||||||
"ad_body": "11",
|
"ad_body": "33",
|
||||||
"ad_image": "https://resource.kingsome.cn//ad/f7daf1a2-a864-11e9-bf18-525400ddcafb_500甜心icon(1)(1).png",
|
"ad_image": "https://resource.kingsome.cn//ad/1d7bb7a2-a865-11e9-8df4-525400ddcafb_banner12(1).png",
|
||||||
"ad_sort": "0",
|
"ad_sort": "0",
|
||||||
"ad_title": "aa",
|
"ad_title": "333",
|
||||||
"id": "1009",
|
"area": "1,0,0",
|
||||||
"jump_param": "aas1",
|
"channelid": "6001",
|
||||||
|
"companyid": "1002",
|
||||||
|
"id": "1014",
|
||||||
|
"jump_param": "fdfd",
|
||||||
"jump_status": "0",
|
"jump_status": "0",
|
||||||
"name": "1122"
|
"locationid": "1001",
|
||||||
},
|
"mode": "0",
|
||||||
|
"name": "33",
|
||||||
|
"type": "1"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#### 2、广告播放上报
|
#### 2、广告播放上报
|
||||||
|
|
||||||
##### 接口地址
|
##### 接口地址
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
http://spread.kingsome.cn/webapp/index.php
|
http://spread.kingsome.cn/webapp/index.php
|
||||||
|
=======
|
||||||
|
http://promotion.kingsome.cn/webapp/index.php
|
||||||
|
>>>>>>> 6e5b56e1f53a0da5d470390653689d7507b00dea
|
||||||
|
|
||||||
##### 返回格式:json
|
##### 返回格式:json
|
||||||
|
|
||||||
@ -67,7 +92,11 @@ http://spread.kingsome.cn/webapp/index.php
|
|||||||
|
|
||||||
##### 请求示范
|
##### 请求示范
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
http://spread.kingsome.cn/webapp/index.php?c=Ops&a=upAdRecording&adid=1009
|
http://spread.kingsome.cn/webapp/index.php?c=Ops&a=upAdRecording&adid=1009
|
||||||
|
=======
|
||||||
|
http://promotion.kingsome.cn/webapp/index.php?c=Ops&a=upAdRecording&adid=1009
|
||||||
|
>>>>>>> 6e5b56e1f53a0da5d470390653689d7507b00dea
|
||||||
|
|
||||||
##### 请求参数说明
|
##### 请求参数说明
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user