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

101 views
Skip to first unread message

ma...@danzrust.cz

unread,
Sep 9, 2025, 4:20:45 PMSep 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 PMSep 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 PMSep 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)



Message has been deleted

ma...@danzrust.cz

unread,
Sep 10, 2025, 1:46:26 PMSep 10
to Google Ads API and AdWords API Forum
Yea, I was able to find out myself since I was getting a little desperate.

I wonder tho - why do you need to declare this for campaigns that are not targeting any EU countries...

DZ

Google Ads API Forum Advisor

unread,
Sep 10, 2025, 5:52:52 PMSep 10
to ma...@danzrust.cz, adwor...@googlegroups.com

Hi,

As previously stated, it is required that you self-declare if this campaign includes political advertising content intended for the European Union.

However, you mentioned that for your campaigns that are not targeting any EU countries. So you should use the DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING field in the contains_eu_political_advertising parameter when creating the campaign to indicate the campaign does not contain political advertising targeted towards the EU. No additional serving restrictions will apply.

I hope it helps.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-09-10 21:52:08Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u6FxZ:ref" (ADR-00332308)



Lan

unread,
Sep 11, 2025, 6:06:16 PM (14 days ago) Sep 11
to Google Ads API and AdWords API Forum

We are also getting this error (started on 9/9/2025) on campaign creation on version V19.0.

Google Ads API Forum Advisor

unread,
Sep 12, 2025, 1:02:35 AM (13 days ago) Sep 12
to lan...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

On September 3, 2025, the Google Ads API rolled out enforcements related to changes for supporting European Union Political Ads Regulation. The enforcement includes the following check while creating the campaigns using versions v19 and v20 of the API.  If you use the Ads API to create or manage campaigns, you may need to update your application to handle these enforcements. Versions v19.2, v20.1, and v21 of the API already have a new field named 'contains_eu_political_advertising' in the Campaign object during their release on August 6, 2025. I recommend you refer to this blog post for information regarding other enforcements related to this change.

I hope this helps.
 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-09-12 05:01:55Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u6UPd:ref" (ADR-00332534)



Reply all
Reply to author
Forward
0 new messages