创建广告系列设置
POST
/api/validation/v1/campaign/settings/create/{campaignId}为客户创建广告系列设置
请求参数
Path 参数
campaignId
string
必需
Header 参数
content-type
string
必需
示例值:
application/json
Body 参数application/json
date
object
可选
start
string
必需
end
string
必需
merchantNames
object
可选
skip
boolean
必需
returnFromTheList
boolean
必需
productLineItems
object
可选
skip
boolean
必需
totalPrice
object
必需
quantity
object
必需
productCodes
object
可选
skip
boolean
必需
description
string
必需
balanceOwing
object
可选
skip
boolean
必需
max
integer
必需
fraudDetection
object
可选
allowSimilarityCheck
boolean
必需
示例
{
"date": {
"start": "2022-01-01T00:00:00.000Z",
"end": "2025-01-01T00:00:00.000Z"
},
"merchantNames": {
"skip": false,
"returnFromTheList": false
},
"productLineItems": {
"skip": false,
"totalPrice": {
"min": 0,
"max": 100
},
"quantity": {
"min": 0,
"max": 100
}
},
"productCodes": {
"skip": true,
"description": "Product codes for Sony LED TV"
},
"balanceOwing": {
"skip": false,
"max": 0
},
"fraudDetection": {
"allowSimilarityCheck": false
}
}
示例代码
返回响应
成功(201)
请求有误(400)
HTTP 状态码: 201
内容格式: JSONapplication/json
数据结构
result
string
必需
statusCode
integer
必需
示例
成功示例
{
"result": "Successfully created campaign settings",
"statusCode": 201
}
修改于 3 个月前