curl --request GET \
--url http://localhost:8000/api/v1/campaigns/live/{customer_id}/{campaign_id} \
--header 'Authorization: Bearer <token>'{
"campaign_id": 123,
"campaign_name": "<string>",
"status": "ENABLED",
"daily_budget_micros": 123,
"budget_resource_name": "<string>",
"network_settings": {
"target_google_search": true,
"target_search_network": false,
"target_content_network": false
},
"bidding_strategy": {
"type": "MAXIMIZE_CONVERSIONS",
"target_cpa_micros": 123,
"target_roas": 1,
"max_cpc_bid_ceiling_micros": 123
},
"start_date": "<string>",
"end_date": "<string>",
"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
}
]
},
"conversion_goals": [
{}
]
}Fetch current settings for a live Google Ads campaign (for the edit UI).
curl --request GET \
--url http://localhost:8000/api/v1/campaigns/live/{customer_id}/{campaign_id} \
--header 'Authorization: Bearer <token>'{
"campaign_id": 123,
"campaign_name": "<string>",
"status": "ENABLED",
"daily_budget_micros": 123,
"budget_resource_name": "<string>",
"network_settings": {
"target_google_search": true,
"target_search_network": false,
"target_content_network": false
},
"bidding_strategy": {
"type": "MAXIMIZE_CONVERSIONS",
"target_cpa_micros": 123,
"target_roas": 1,
"max_cpc_bid_ceiling_micros": 123
},
"start_date": "<string>",
"end_date": "<string>",
"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
}
]
},
"conversion_goals": [
{}
]
}The access token received from the authorization server in the OAuth 2.0 flow.
Optional specific Token ID
Successful Response
Full campaign-level settings for a live Google Ads campaign.
ENABLED, PAUSED, REMOVED Network settings for campaign.
Show child attributes
Bidding strategy configuration.
Show child attributes
Show child attributes
Ad schedule configuration.
Show child attributes