创建推广位
POST
/gateway/jd.union.open.position.create
请求参数
Body 参数application/json
unionId
string
联盟Id
key
string
授权key
unionType
string
推广位类型
type
string
站点类型
spaceNameList
array[string]
推广位名称集合
siteId
string | null
站点Id
示例
{
"unionId": "2014274090",
"key": "fddc9a445f2de0df0f8acbce1ea16554ac4f5b7f4d3ab43b2197ac84eb24cd1eab608507c2a71244",
"unionType": 4,
"type": 4,
"spaceName": "111测试122211211111"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://union.lottefuture.com/gateway/jd.union.open.position.create' \
--header 'Content-Type: application/json' \
--data-raw '{
"unionId": "2014274090",
"key": "fddc9a445f2de0df0f8acbce1ea16554ac4f5b7f4d3ab43b2197ac84eb24cd1eab608507c2a71244",
"unionType": 4,
"type": 4,
"spaceName": "111测试122211211111"
}'
返回响应
🟢200成功
application/json
Body
array of:
name
string
推广位名称
positionId
integer
推广位Id
pid
string
推广位PID
示例
[
{
"name": "测试3333",
"positionId": 3100167808,
"pid": "2014274090_4100855912_3100167808"
}
]
修改于 2023-07-17 08:19:58