1. 获取公钥
1 2 3 4 5 6 7 8 9 10 11
| GET /api/v1/ad/protocol/secureTokens
返回 { "code": "0", "message": "success", "data": { "公钥1 key": "公钥1", "公钥2 key": "公钥2" } }
|
2. 上传密钥
1 2 3 4 5 6 7
| POST /api/v1/ad/protocol/encryptKey
请求 xx...:xxx...
返回 xxxxx....
|
3. 基本配置
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| POST /api/v1/ad/config
请求 { "adPlatform":"Vivo", "businessCode":"Tiantian", "deviceId":"xxxxxx" }
返回 { "code": "0", "message": "success", "data": { "uncloseRate": 80, "adQuota": 19, "region": "1", "rapps": [ [ "org.hapjs.debugger", "more package name..." ] ] } }
|
4. 壁纸
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| POST /api/v1/ad/wallpapers
请求 { "adPlatform":"Vivo", "businessCode":"Tiantian", "deviceId":"xxxxxx" }
返回 { "code": "0", "message": "success", "data": { "beauty": { "categoryName": "女孩", "categoryCode": "beauty", "resourceList": [ "https://....", "https://...." ] }, "cat": { "categoryName": "小猫", "categoryCode": "cat", "resourceList": [ "https://....", "https://...." ] } } }
|
5. 行为上报
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| POST /api/v1/action/report
请求 { "adPlatform":"Vivo", "businessCode":"Tiantian", "adAction":"AdFinish", "deviceId":"xxxxxxx", "vivoRequestId": "", "vivoCreativeId": "", "userId":"123", "count":"1" }
返回 { "code": "0", "message": "success", "data": "" }
|
如果您喜欢此博客或发现它对您有用,则欢迎对此发表评论。 也欢迎您共享此博客,以便更多人可以参与。 如果博客中使用的图像侵犯了您的版权,请与作者联系以将其删除。 谢谢 !