This operation is only allowed after you confirm if this campaign has European Union political ads.

26 views
Skip to first unread message

ma...@danzrust.cz

unread,
Sep 9, 2025, 4:20:45 PM (13 hours ago) Sep 9
to Google Ads API and AdWords API Forum
Hi guys,
about 1 hour ago, I've started to get this error when editing campaign locations via API. 

My campaigns are certainly not targeting EU, nor my API code has changed. 

I believe this is an issue in the G Ads API. 

ma...@danzrust.cz

unread,
Sep 9, 2025, 4:23:50 PM (13 hours ago) Sep 9
to Google Ads API and AdWords API Forum
The API calls started to fail  with 400:  ◉ This operation is only allowed after you confirm if this campaign has European Union political ads.

Google Ads API Forum Advisor

unread,
Sep 9, 2025, 7:56:57 PM (10 hours ago) Sep 9
to ma...@danzrust.cz, adwor...@googlegroups.com

Hi,

Thank you for contacting the Google Ads API support team.

As previously announced, Google will discontinue serving political advertising in the European Union in anticipation of new regulations effective October 2025. On September 3, 2025, the Google Ads API and Google Ads scripts implemented related enforcements. Users using these products for campaign creation or management may need to update their applications to accommodate these changes before September 3, 2025.

The Google Ads API and Google Ads scripts now support self-declaration for campaigns containing EU political ads. A definition of an EU political ad is available here. API versions v19.2, v20.1, and v21 include a new field, contains_eu_political_advertising, within the Campaign object. Possible values and their meanings are mentioned in the blog post.

I hope it helps. If still getting the same errors, to investigate the issue further, kindly provide us with the complete API logs (request and response with request-id and request header) generated at your end when editing campaign locations via API.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides for Java, .Net, PHP, Python, Ruby, or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via the Reply privately to the author option or direct private reply to this email.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-09-09 23:56:15Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u6FxZ:ref" (ADR-00332308)



Reply all
Reply to author
Forward
0 new messages