You can download the
Click Performance Report via the API to obtain statistics around a
GCLID. This report aggregates data at each click level and contains data for both valid and invalid clicks. To get started with AdWords API reports, please refer to
this guide.
This example in Java explains how to download a report using the API. Same example is available in
other client libraries as well. Please feel free to revert if you have additional questions.