Hi,
Thank you for contacting the Google Ads API support team.
Based on the request Id provided, I understand that you are encountering
FieldError.REQUIRED error while trying to create an ad group criterion with the
criterion as userList. Please refer to the following sample request body and
confirm whether the request body present in the logs generated is of the same
format or some field is missing.
{
"operations": [
{
"create": {
"userList": {
"userList": "<Enter user_list resource name here in the format
customers/{customerId}/userLists/{userListId}>"
}
}
}
]
}
If you have followed the above format and still you are encountering the error,
kindly get back to us with complete API logs (request and response with
request-id and request header) generated at your end without redacting any
information.
Based on the email subject, I understand that you are using the Python client
library. So, if you haven't enabled the logging yet, I would request you to
enable logging for the Python client library. You may refer to the guide Python
to enable logging at your end. You can enable logging via the curl command by
using the -i flag for REST interface requests.
I noticed that you are using version V18 of Google Ads API. Please note that
‘v18’ will be deprecated in June 2025 and will sunset in September 2025. I
would recommend you to upgrade to the latest version, 'v19', as soon as
possible to benefit from new features. You may refer to the documentation on
deprecation and sunset for more information regarding the specific deprecation
and sunset dates for each available version.
You can send the details via Reply privately to the author option, or direct
private reply to this email.
Thanks,
Google Ads API Team
Feedback
How was our support today?
[2025-03-07 15:05:50Z GMT] This message is in relation to case
"ref:!00D1U01174p.!5004Q02vH75l:ref" (ADR-00292246)
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/adwords-api/5A2tD000000000000000000000000000000000000000000000SSRDXQ00csXB1qtdQ2aBMZQ5abCvOQ%40sfdc.net.