curl --request PUT \
--url http://localhost:8000/api/v1/google-ads/ad-schedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"campaign_id": 123,
"entries": [
{
"day_of_week": "MONDAY",
"start_hour": 11,
"end_hour": 12,
"start_minute": 0,
"end_minute": 0
}
]
}
'{
"success": true,
"successful_count": 0,
"failed_count": 0,
"errors": [
{}
]
}Replace all ad schedule entries on a campaign.
curl --request PUT \
--url http://localhost:8000/api/v1/google-ads/ad-schedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"campaign_id": 123,
"entries": [
{
"day_of_week": "MONDAY",
"start_hour": 11,
"end_hour": 12,
"start_minute": 0,
"end_minute": 0
}
]
}
'{
"success": true,
"successful_count": 0,
"failed_count": 0,
"errors": [
{}
]
}The access token received from the authorization server in the OAuth 2.0 flow.