Hi,
Thank you for reaching out to the Google Ads API support team.
After reviewing your concern, I understand that you want to retrieve search term data via the Google Ads API. I would recommend you check the search_term_view resource to get a search term view with metrics aggregated by search term. Since campaign is one of the attributed resources, you can get PERFORMANCE_MAX data by using the proposed resource.
Also, please go through Performance Max reporting to get the information, specifically campaign category is PERFORMANCE_MAX.
I hope this helps. If the above proposed resources are not able to provide your required information, please get back to us with an uncropped UI screenshot with clear visibility of the customer ID, where you are able to see the expected data that you want to retrieve via the Google Ads API, so that we can assist you accordingly.
![]() |
Google Ads API Team |
SELECT campaign_search_term_insight.campaign_id, campaign_search_term_insight.category_label, campaign_search_term_insight.id, metrics.clicks, metrics.impressions, metrics.conversions, metrics.conversions_value FROM campaign_search_term_insight WHERE segments.date BETWEEN '2024-04-20' AND '2024-05-06' AND campaign_search_term_insight.campaign_id = '***********'"Additionally, you can utilize the Google Ads Query Builder and Query Validator to build and validate the queries for retrieving the data from the Google Ads API.
![]() |
Google Ads API Team |
Hi,
Please provide an uncropped UI screenshot of your Google Ads account highlighting the data which you are trying to retrieve without redacting any information and your Google Ads customer Id. Please note that we will require this requested information in order to understand your concern properly and to assist you better.
You can send the details via Reply privately to the author option, or direct private reply to this email.
![]() |
Google Ads API Team |
Hi,
Thank you for contacting the Google Ads API support team.
Upon reviewing your concern, I understand that you want to retrieve search term insights for Performance Max campaigns using the Google Ads API. Please note that this feature is currently not available in the Google Ads API. However, I will raise a feature request for this feature to be available in the Google Ads API. I cannot provide a scheduled timeline for the availability of these two features. So, I would recommend you to please follow our release notes and blog post for further updates on this feature.
However, please note that you can retrieve the search terms for a individual PERFOMANCE_MAX campaign using campaign_search_term_insight report by specifying the campaign Id and the campaign insight Id. Kindly refer to the following GAQL query in order to retrieve the search terms of a single PMax campaign.
SELECT campaign_search_term_insight.id, campaign_search_term_insight.campaign_id, segments.search_term, campaign_search_term_insight.resource_name, metrics.clicks FROM campaign_search_term_insight WHERE segments.date DURING LAST_7_DAYS AND campaign_search_term_insight.campaign_id = 'XXXXXXXXX' AND campaign_search_term_insight.id = 'XXXXXXXXX'
You can use the search or searchStream methods in making the API calls while retrieving the data. Additionally, you can utilize the Google Ads Query Builder and Query Validator to build and validate the queries for retrieving the data from the Google Ads API.
I hope this clarifies your concern. Feel free to reach out for any further concerns/ queries.
![]() |
Google Ads API Team |
[2025-07-10 11:35:13Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02rzHLQ:ref" (ADR-00224131)