googleads / google-ads-python

Google Ads API Client Library for Python
Apache License 2.0
526 stars 480 forks source link

Where in the package can I access programatically the query_validator function? #873

Closed edpruuv closed 3 months ago

edpruuv commented 4 months ago

Hi,

I want to use https://developers.google.com/google-ads/api/fields/v17/query_validator on my python code. So that I can check before sending a query that the query is indeed a valid GAQL query.

Is the function available here on the python package?

Thanks in advanced!

BenRKarl commented 3 months ago

Hey @edpruuv unfortunately that functionality isn't available in the library, however that is a very cool idea. For now, I think the next best option is to submit a Search request with validate_only set to True.