curl --request PATCH \
--url http://localhost:8000/api/v1/campaigns/live/{customer_id}/{campaign_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"campaign_name": "<string>",
"status": "ENABLED",
"daily_budget_micros": 123,
"bidding_strategy": {
"type": "MAXIMIZE_CONVERSIONS",
"target_cpa_micros": 123,
"target_roas": 1,
"max_cpc_bid_ceiling_micros": 123
},
"network_settings": {
"target_google_search": true,
"target_search_network": false,
"target_content_network": false
},
"language_ids": [
123
],
"location_targets": [
{
"geo_target_constant_id": 123,
"target_type": "INCLUDE"
}
],
"ad_schedule": {
"mode": "ALL_TIME",
"schedule_entries": [
{
"day_of_week": "MONDAY",
"start_hour": 11,
"end_hour": 12,
"start_minute": 0,
"end_minute": 0
}
]
},
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"conversion_goals": [
{
"goal_type": "CAMPAIGN_SPECIFIC",
"conversion_action_id": 1,
"category": "PURCHASE"
}
]
}
'{
"success": true,
"campaign_updated": false,
"budget_updated": false,
"targeting_updated": false,
"conversion_goals_updated": false,
"warnings": [
"<string>"
],
"errors": [
"<string>"
]
}Update settings on a live Google Ads campaign.
Only provided fields are updated. Targeting fields (locations, languages, ad schedule) use replace-all semantics.
curl --request PATCH \
--url http://localhost:8000/api/v1/campaigns/live/{customer_id}/{campaign_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"campaign_name": "<string>",
"status": "ENABLED",
"daily_budget_micros": 123,
"bidding_strategy": {
"type": "MAXIMIZE_CONVERSIONS",
"target_cpa_micros": 123,
"target_roas": 1,
"max_cpc_bid_ceiling_micros": 123
},
"network_settings": {
"target_google_search": true,
"target_search_network": false,
"target_content_network": false
},
"language_ids": [
123
],
"location_targets": [
{
"geo_target_constant_id": 123,
"target_type": "INCLUDE"
}
],
"ad_schedule": {
"mode": "ALL_TIME",
"schedule_entries": [
{
"day_of_week": "MONDAY",
"start_hour": 11,
"end_hour": 12,
"start_minute": 0,
"end_minute": 0
}
]
},
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"conversion_goals": [
{
"goal_type": "CAMPAIGN_SPECIFIC",
"conversion_action_id": 1,
"category": "PURCHASE"
}
]
}
'{
"success": true,
"campaign_updated": false,
"budget_updated": false,
"targeting_updated": false,
"conversion_goals_updated": false,
"warnings": [
"<string>"
],
"errors": [
"<string>"
]
}The access token received from the authorization server in the OAuth 2.0 flow.
Optional specific Token ID
Request schema for updating live campaign settings. All fields optional.
1 - 256ENABLED, PAUSED Bidding strategy configuration.
Show child attributes
Network settings for campaign.
Show child attributes
Show child attributes
Ad schedule configuration.
Show child attributes
Show child attributes