Question
stringlengths
19
106
Query
stringlengths
48
390
Context
stringclasses
1 value
List keywords with the lowest CTR for the last 14 days.
SELECT ad_group_criterion.criterion_id, ad_group_criterion.keyword.text, ad_group_criterion.keyword.match_type, campaign.name, ad_group.name, metrics.ctr FROM keyword_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.ctr ASC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the top search terms by clicks in the last 30 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks FROM search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the highest CTR last week?
SELECT campaign.name, ad_group.name, search_term_view.search_term FROM search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What were the impressions for search terms today?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING TODAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What search terms had the most conversions last month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions FROM search_term_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms generated the highest cost this week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.cost_micros FROM search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.cost_micros DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the search terms with zero conversions this month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions FROM search_term_view WHERE segments.date DURING THIS_MONTH AND metrics.conversions= 0
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the lowest CTR last 14 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term FROM search_term_view WHERE segments.date DURING LAST_14_DAYS
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What search terms have the highest impressions today?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING TODAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms are most relevant this week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, segments.search_term_match_type, metrics.impressions FROM search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the search terms with the highest cost last week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.cost_micros FROM search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.cost_micros DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the most clicks this month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks FROM search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What search terms had the highest conversions yesterday?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions FROM search_term_view WHERE segments.date DURING YESTERDAY ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the total impressions of all search terms in the last 30 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms generated the most clicks last week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks FROM search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the impressions for each search term today?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING TODAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the highest conversion rates this month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions, metrics.conversions_from_interactions_rate FROM search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.conversions_from_interactions_rate DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What search terms were clicked the most last month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks FROM search_term_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How many impressions did each search term get this week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the top search terms by cost last 14 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.cost_micros FROM search_term_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.cost_micros DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had zero conversions last 30 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions FROM search_term_view WHERE segments.date DURING LAST_30_DAYS AND metrics.conversions=0 ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the clicks for search terms this week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks FROM search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the most impressions yesterday?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING YESTERDAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the search terms with clicks by day last week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, segments.date, metrics.clicks FROM search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms generated the most conversions this month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions FROM search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the highest clicks yesterday?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks FROM search_term_view WHERE segments.date DURING YESTERDAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the top search terms by conversions in the last 14 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions FROM search_term_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How many impressions did our search terms get this month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms generated the most clicks last month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks FROM search_term_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the most common search terms this week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the highest cost in the last 30 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.cost_micros FROM search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.cost_micros DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the search terms with zero conversions this week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions FROM search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY AND metrics.conversions=0 OR BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the most interactions last week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.interactions FROM search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.interactions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How many clicks did search terms receive today?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks FROM search_term_view WHERE segments.date DURING TODAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What search terms are trending in terms of impressions this month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the highest conversion rate in the last 7 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions, metrics.clicks FROM search_term_view WHERE segments.date DURING LAST_7_DAYS ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the search terms with low clicks and high impressions?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions, metrics.clicks FROM search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the top search terms by clicks last 30 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks FROM search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How many impressions did my search terms receive last week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the click-through rates of my search terms this week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks, metrics.impressions FROM search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the highest cost last month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.cost_micros FROM search_term_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.cost_micros DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What search terms had no conversions last 30 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions FROM search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms brought in the most traffic yesterday?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.clicks FROM search_term_view WHERE segments.date DURING YESTERDAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the top search terms by impressions this month?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the highest impressions last 14 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.impressions FROM search_term_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What search terms are performing best by device last 7 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, segments.device, metrics.clicks FROM search_term_view WHERE segments.date DURING LAST_7_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms had the most conversions this week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.conversions FROM search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the search terms with the highest cost per click last 30 days?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.average_cpc FROM search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.average_cpc DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are my total clicks and impressions for search terms this month?
SELECT campaign.name, ad_group.name, metrics.clicks, metrics.impressions FROM search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms have the highest cost this week?
SELECT campaign.name, ad_group.name, search_term_view.search_term, metrics.cost_micros FROM search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.cost_micros DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What dynamic search ads search terms generated the most clicks?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had the highest impressions?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Show me the conversion rate for dynamic search ads search terms this month.
SELECT dynamic_search_ads_search_term_view.search_term, metrics.conversions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the top dynamic search ads search terms from yesterday?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks, metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING YESTERDAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How many clicks did dynamic search ads search terms get last week?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms performed best this week?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.impressions, metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What dynamic search ads search terms had the lowest cost per conversion last month?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.cost_per_conversion FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.cost_per_conversion DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Show the average position of dynamic search ads search terms in the last 14 days.
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had the highest CTR this month?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.ctr FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.ctr DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How did dynamic search ads search terms perform on the account today?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks, metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING TODAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What were the top dynamic search ads search terms for the last 30 days?
SELECT dynamic_search_ads_search_term_view.search_term, metrics.clicks, metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had the most conversions last week?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.conversions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the top dynamic search ads search terms driving traffic in the last 30 days?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks, metrics.impressions, metrics.ctr FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had the highest conversion rates last month?
SELECT dynamic_search_ads_search_term_view.search_term, metrics.conversions, metrics.conversions_from_interactions_rate FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.conversions_from_interactions_rate DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Show dynamic search ads search terms that generated clicks today.
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks, metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING TODAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What dynamic search ads search terms performed best in terms of CTR in the last 14 days?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.ctr FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.ctr DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had no clicks last week?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
List dynamic search ads search terms with the highest cost in the last 30 days.
SELECT dynamic_search_ads_search_term_view.search_term,metrics.cost_micros FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.cost_micros DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What dynamic search ads search terms had the most impressions yesterday?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING YESTERDAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had the highest conversions this month?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.conversions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Show dynamic search ads search terms with low impressions but high clicks in the last 7 days.
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks, metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_7_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What dynamic search ads search terms are generating the most conversions this week?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.conversions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had the highest cost per click last month?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.average_cpc FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.average_cpc DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Show dynamic search ads search terms with the highest clicks last week.
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the dynamic search ads search terms and their impressions in the last 30 days?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had the highest conversions yesterday?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.conversions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING YESTERDAY ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Show me the top dynamic search ads search terms by clicks this month.
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the dynamic search ads search terms with the lowest cost per conversion in the last 14 days?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.cost_per_conversion FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.cost_per_conversion ASC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms generated the most revenue last week?
SELECT dynamic_search_ads_search_term_view.search_term, metrics.conversions_value FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.conversions_value DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the unique dynamic search ads search terms used this week?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How many clicks did each dynamic search ads search term get in the last 7 days?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_7_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the impressions and clicks for dynamic search ads search terms today?
SELECT dynamic_search_ads_search_term_view.search_term, metrics.impressions, metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING TODAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had the highest impressions last month?
SELECT dynamic_search_ads_search_term_view.search_term, metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Show me the dynamic search ads search terms with the most conversions this week.
SELECT dynamic_search_ads_search_term_view.search_term,metrics.conversions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the dynamic search ads search terms with the highest search impression share in the last 30 days?
SELECT dynamic_search_ads_search_term_view.search_term, metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Show me the dynamic search ads search terms and their cost for the last 14 days.
SELECT dynamic_search_ads_search_term_view.search_term,metrics.cost_micros FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.cost_micros DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the top dynamic search ads search terms generating clicks this month?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How many impressions did our dynamic search ads search terms receive yesterday?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING YESTERDAY ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Show the clicks and conversions for the last 7 days for the dynamic search terms.
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks, metrics.conversions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_7_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had the highest conversion rate last 14 days?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.conversions, metrics.conversions_from_interactions_rate FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the dynamic search ads search terms with the most clicks this week?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How many conversions did our dynamic search ads search terms generate last month?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.conversions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.conversions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What is the click-through rate (CTR) of our dynamic search ads search terms this week?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.ctr FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY ORDER BY metrics.ctr DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which dynamic search ads search terms had the highest impressions last week?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How did our dynamic search ads search terms perform today?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks, metrics.impressions FROM dynamic_search_ads_search_term_view WHERE segments.date DURING TODAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the dynamic search ads search terms with the lowest average CPC this month?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.average_cpc FROM dynamic_search_ads_search_term_view WHERE segments.date DURING THIS_MONTH ORDER BY metrics.average_cpc DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Show dynamic search ads search terms and their cost per conversion for the last 30 days.
SELECT dynamic_search_ads_search_term_view.search_term,metrics.cost_per_conversion FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.cost_per_conversion DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
What are the top dynamic search ads search terms in the last 30 days?
SELECT dynamic_search_ads_search_term_view.search_term, metrics.clicks, metrics.impressions, metrics.ctr FROM dynamic_search_ads_search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
How many clicks did each dynamic search ads search term receive yesterday?
SELECT dynamic_search_ads_search_term_view.search_term,metrics.clicks FROM dynamic_search_ads_search_term_view WHERE segments.date DURING YESTERDAY ORDER BY metrics.clicks DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.
Which search terms generated the most impressions last week per campaign?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.impressions FROM campaign_search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.impressions DESC
You are a Google Ads (GAQL) expert. Given a natural-language question, output exactly one valid GAQL query. Output format: single line only, no newlines, no extra spaces, no commentary. Rules: (1) Choose the correct resource from the NLQ. (2) Add ORDER BY only if the field is also in SELECT. (3) Add segments.date only if metrics are selected. (4) If the NLQ mentions status (paused, enabled, active, running ads/campaigns/ad groups), include the correct status filter. Example NLQ: "How many ad groups are currently paused?" β†’ SELECT ad_group.id, ad_group.name, campaign.name FROM ad_group WHERE ad_group.status = 'PAUSED'.