I'm using the Google Ads API v13 in Python, and here is the relevant code snippet:
Hi Rami,
Thank you for reaching out to the Google Ads API Forum Channel.
Please do note that the performance of operation in your code depends on the environment in which you are running your python program (e.g. OS Platform and Distribution, Python version, etc.). I would suggest reaching out to the client library developers for more insight on possible code-related optimizations for retrieving click view data efficiently. You may do so by going to the `Issues` tab of your Python client library's GitHub page and clicking `New issue` to open up a new case. Kindly navigate here: https://github.com/googleads/google-ads-python/issues.
As an aside, you can also refer to this guide <https://developers.google.com/google-ads/api/docs/best-practices/overview#optimization> for the Best Practices related to Optimization.
Let us know if you have any clarifications or if we can assist you with anything else related to the Google Ads API <https://developers.google.com/google-ads/api/docs/start>.
![]() |
Google Ads API Team |