Hi Nicholas,
Thanks for reaching out to the Google Ads API Team. I hope you are doing well today.
Moving forward to our concern, you really need to put your query in the query validator to validate it. If you don’t use the query validator beforehand and your query happens to be invalid, then, you will surely get an error. That is why we really recommend using the “Google Ads Query Validator” to test if the entered query is valid.
Have a great day.
Regards,
![]() |
Google Ads API Team |
Hi All,
You may refer to this SearchGoogleAdsRequest documentation, when setting validate_only to “true” the request will be validated but not executed. You may also refer to GoogleAdsService documentation for the list of thrown errors for each corresponding method.
Please note that when executing a query when you have test access, this operation can only be done on test accounts.
Regards,