"The required field was not present" error message

4 views
Skip to first unread message

주식회사노먼

unread,
6:55 AM (15 hours ago) 6:55 AM
to Google Ads API and AdWords API Forum

Hello,

I have been using the Google Ads API to create ads, but over the past two days, ad creation has started failing.

In my Google Ads account, I have marked that the campaign does not contain EU political advertising.

However, when creating ads via the API, I am receiving the following error message:
"The required field was not present"

I am currently using API version v21.

Does anyone know what might be causing this issue?

Thank you in advance for your help. 

Google Ads API Forum Advisor

unread,
7:42 AM (14 hours ago) 7:42 AM
to oper...@naver.com, adwor...@googlegroups.com
Hi,

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

Based on the information provided, I understand that you are encountering an error message stating 'The required field was not present'. This clearly indicates you are missing one of the required fields while creating an ad using the Google Ads API. We need to have your complete request of what you are passing in order to find which field you are missing. In order to investigate your issue further, kindly provide us with the complete API logs (request and response logs with request-id and request header) generated at your end to better assist you further. 

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 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 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-19 11:41:39Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u73zq:ref" (ADR-00333219)



Reply all
Reply to author
Forward
0 new messages