Bug
draft_campaign → confirm_and_apply(dry_run=false) fails with:
errors {
error_code {
field_error: REQUIRED
}
message: "The required field was not present."
location {
field_path_elements { field_name: "mutate_operations" index: 1 }
field_path_elements { field_name: "campaign_operation" }
field_path_elements { field_name: "create" }
field_path_elements { field_name: "contains_eu_political_advertising" }
}
}
Steps to reproduce
- Configure AdLoop with an EU-based Google Ads account
draft_campaign(campaign_name="Test", daily_budget=30, bidding_strategy="MAXIMIZE_CONVERSIONS")
confirm_and_apply(plan_id=..., dry_run=false)
Dry run succeeds, but the actual apply fails.
Expected behavior
AdLoop should set contains_eu_political_advertising: false by default when creating campaigns, since the Google Ads API v23 requires this field for EU accounts.
Environment
- AdLoop: latest (via uvx)
- Google Ads API: v23
- Account region: Poland (EU)
Bug
draft_campaign→confirm_and_apply(dry_run=false)fails with:Steps to reproduce
draft_campaign(campaign_name="Test", daily_budget=30, bidding_strategy="MAXIMIZE_CONVERSIONS")confirm_and_apply(plan_id=..., dry_run=false)Dry run succeeds, but the actual apply fails.
Expected behavior
AdLoop should set
contains_eu_political_advertising: falseby default when creating campaigns, since the Google Ads API v23 requires this field for EU accounts.Environment