curl --location --request POST 'adhub.plus/api/v1/campaigns' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"campaign": {
"advert_id": 5,
"broadcasting_type": "active_ad",
"cpm": 1.5,
"sending_limit": 1000
}
}'{
"success": true,
"data": {
"id": 1,
"advert_id": 5,
"advert_title": "Sample Ad",
"broadcasting_type": "active_ad",
"cpm": 1.5,
"sending_limit": 1000,
"sending_count": 250,
"enabled": true,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
}