Hello Vincent,
Thanks for reaching out to the Google Ads API Team.
Can you confirm if you wish to obtain these data using the Google Ads API? If so, please provide us with an uncropped UI screenshot of this data in the Google ads UI? I am asking this so we will be able to provide guidance as to what report to recommend and what fields are available on the report.
Regards,
![]() |
Google Ads API Team |
Hi Shubham,
I'm from the Google Ads API team.
I'm afraid that there's no endpoint to directly list your conversion actions. However, you may query the conversion_action resource using GAQL to retrieve all conversion actions in your account.
For additional reference, I suggest you check our Reporting guide and the Search & SearchStream to learn more about how reports work in Google Ads API. Furthermore, you may utilize the conversion_action's query builder to quickly check the available fields and check for compatibility issues.
I hope this helps. Let us know if you have any further clarification.
Reference links:
conversion_action - https://developers.google.com/google-ads/api/fields/v13/conversion_action
query builder - https://developers.google.com/google-ads/api/fields/v13/conversion_action_query_builder
Reporting - https://developers.google.com/google-ads/api/docs/reporting/overview
Search & SearchStream - https://developers.google.com/google-ads/api/rest/common/search
Regards,
![]() |
Google Ads API Team |
Hello Vincent,
Thank you for responding back to us.
Confirming that we have received the screenshot you shared. With that, we navigated to UI to see the current values you have. Kindly refer to the attached screenshot for our view.
Please note that the API mirrors only the UI. Thus, the API can only get the data that is being shown in the UI. With that, with regards to your question of what data you can get and base on the screenshot also, we can only retrieve the clicks, conversions, cost per conversion and cost values through API. You may check the below query for the sample.{ "query": " SELECT metrics.conversions, metrics.clicks, metrics.cost_per_conversion, metrics.cost_micros FROM customer WHERE segments.date = '2023-04-23' " }
And here is the sample result:{ "results": [ { "customer": { "resourceName": "customers/5222643941" }, "metrics": { "conversions": 22, "costMicros": "1809281157", "clicks": "511", "costPerConversion": 82240052.5909091 } } ], "fieldMask": "metrics.conversions,metrics.clicks,metrics.costPerConversion,metrics.costMicros" }
Let us know should you have further concerns with the API.
SELECT metrics.conversions, metrics.clicks, metrics.cost_per_conversion, metrics.cost_micros, segments.hour FROM customer WHERE segments.date = '2023-04-23' AND segments.hour BETWEEN 13 AND 14

And is there any way to link "SELECT metrics.conversions, metrics.clicks, metrics.cost_per_conversion, metrics.cost_micros, segments.hour FROM customer WHERE segments.date = '2023-04-23' AND segments.hour BETWEEN 13 AND 14" And the graphic above ?
Hi Vincent,
Thank you for your response.
For you to get the keywords for your conversion, you can try the query "SELECT segments.keyword.info.text, metrics.conversions FROM search_term_view WHERE segments.date = '2023-04-23'"". Then, for your question for the way to link the previous query to this new query, I'm afraid there is no way to link the two request, since in search_term_view resource, there is no segments.hour that can get the "segments.hour BETWEEN 13 AND 14". If you encounter any errors in the provided query for keywords, kindly provide us an un-cropped screenshot of the UI and complete request and response logs with the request-id so we can take a closer look into it. You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
Reference link: