캠페인 정보를 캐시에 저장합니다. 광고 선택 및 중재 로직에서 사용됩니다.
curl --request POST \
--url https://your_a2_service/api/cache/campaigns \
--header 'Content-Type: application/json' \
--data '[
{
"audience_segments": {
"method": "<string>",
"segment_list": [
{
"id": "<string>",
"name": "<string>"
}
]
},
"bid_strategy": "highest_volume",
"budget": 123,
"crid": "<string>",
"daily_budget": 123,
"end_date": "2023-11-07T05:31:56Z",
"goal": "<string>",
"id": "<string>",
"max_bid": 0,
"min_daily_imp": 1000,
"start_date": "2023-11-07T05:31:56Z",
"status": "<string>",
"sub_goal": "maximize_volume",
"tagid": "<string>",
"target_cpa": 123,
"target_cpm": 0,
"target_volume": 0
}
]'
The body is of type object[]
.
성공
curl --request POST \
--url https://your_a2_service/api/cache/campaigns \
--header 'Content-Type: application/json' \
--data '[
{
"audience_segments": {
"method": "<string>",
"segment_list": [
{
"id": "<string>",
"name": "<string>"
}
]
},
"bid_strategy": "highest_volume",
"budget": 123,
"crid": "<string>",
"daily_budget": 123,
"end_date": "2023-11-07T05:31:56Z",
"goal": "<string>",
"id": "<string>",
"max_bid": 0,
"min_daily_imp": 1000,
"start_date": "2023-11-07T05:31:56Z",
"status": "<string>",
"sub_goal": "maximize_volume",
"tagid": "<string>",
"target_cpa": 123,
"target_cpm": 0,
"target_volume": 0
}
]'