Question
stringlengths
19
106
Query
stringlengths
48
390
Context
stringclasses
1 value
What were the top search terms in terms of clicks this month at campaign level?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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 clicks did each campaign receive on search terms yesterday?
SELECT campaign_search_term_view.campaign, metrics.clicks FROM campaign_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 had the highest conversion rate in the last 30 days per campaign?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.conversions_from_interactions_rate FROM campaign_search_term_view WHERE segments.date DURING LAST_30_DAYS 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 are the most common search terms used in the last 14 days at campaign level?
SELECT campaign_search_term_view.search_term FROM campaign_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'.
How many impressions did campaigns receive on search terms this week?
SELECT campaign_search_term_view.campaign, metrics.impressions FROM campaign_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 is the performance of search terms for campaigns in the last month?
SELECT campaign_search_term_view.campaign, customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM campaign_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'.
Which search terms had the highest cost in the last 30 days per campaign?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.cost_micros FROM campaign_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'.
Show me the campaign level search terms with the most clicks today.
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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 most campaign levelsearched terms last week?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term FROM campaign_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'.
Which campaigns had the highest impressions on search terms this month?
SELECT campaign_search_term_view.campaign,campaign_search_term_view.search_term, metrics.impressions FROM campaign_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'.
What search terms were most effective in terms of conversions across campaign for last 30 days?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.conversions FROM campaign_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'.
What were my top search terms across campaign last week?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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 had the highest impressions across campaign today?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.impressions FROM campaign_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'.
How many clicks did my search terms across campaign receive yesterday?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term,metrics.clicks FROM campaign_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 is the CTR of my search terms this month at campaign level?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.ctr FROM campaign_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'.
Which campaign level search terms performed best in terms of conversions last 30 days?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.conversions FROM campaign_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'.
How many unique search terms did I have last month at campaign level?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term,metrics.clicks FROM campaign_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 were my campaign level search terms with the highest cost this week?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.cost_micros FROM campaign_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'.
Which search terms had the most conversions across campaigns in the last 14 days?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.conversions FROM campaign_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'.
Which search terms had the most clicks across campaigns this month?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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 is the performance of my search terms over the last 7 days at campaign level?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM campaign_search_term_view WHERE segments.date DURING LAST_7_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'.
List my top search terms by conversions across campaigns this week.
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.conversions FROM campaign_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 clicks and impressions for each search term in the last 30 days at campaign level?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks, metrics.impressions FROM campaign_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 generated the highest cost in the last 30 days at campaign level?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.cost_micros FROM campaign_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 average CPCs for search terms across campaigns over the last 14 days?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.average_cpc FROM campaign_search_term_view WHERE segments.date DURING LAST_14_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 search terms had the highest CTR in the last 7 days at campaign level?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.ctr FROM campaign_search_term_view WHERE segments.date DURING LAST_7_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 campaigns had the most impressions on search terms this month?
SELECT campaign_search_term_view.campaign, metrics.impressions FROM campaign_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'.
What are the search terms with the most clicks last month per campaign?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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'.
Which search terms had the best performance last week at campaign level?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM campaign_search_term_view WHERE segments.date DURING LAST_WEEK_SUN_SAT 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'.
What are the impressions by search term for today at campaign level?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.impressions FROM campaign_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 generated the most clicks across campaigns this week?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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'.
What was the performance of search terms across campaigns for yesterday?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM campaign_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 top search terms by clicks for the last 30 days per campaign.
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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'.
What are the top search terms for each campaign in the last 30 days?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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 campaigns had the highest cost on search terms in the last 7 days?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.cost_micros FROM campaign_search_term_view WHERE segments.date DURING LAST_7_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 average impressions for campaigns on search terms this month?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term,metrics.impressions FROM campaign_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 campaigns had the lowest CPC on search terms last month?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.average_cpc FROM campaign_search_term_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.average_cpc 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 were the search terms with the most conversions for each campaign last week?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.conversions FROM campaign_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 search terms for campaigns this week?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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 CTR for campaigns in the last 14 days?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.ctr FROM campaign_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'.
What are the most common search terms across campaigns in the last 30 days?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term FROM campaign_search_term_view WHERE segments.date DURING LAST_30_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 are the search terms with the most clicks this week for each campaign?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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'.
What search terms generated the most impressions last week at campaign level?
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'.
Which campaigns are performing best in terms of clicks this month?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.clicks FROM campaign_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 campaigns had the most conversions on search terms last 14 days?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term, metrics.conversions FROM campaign_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 search terms have the highest click-through rate across campaigns this week?
SELECT campaign_search_term_view.campaign, campaign_search_term_view.search_term FROM campaign_search_term_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY
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 landing pages have the highest impressions this month?
SELECT landing_page_view.unexpanded_final_url, metrics.impressions FROM landing_page_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'.
What are the top landing pages by clicks in the last 30 days?
SELECT landing_page_view.unexpanded_final_url, metrics.clicks FROM landing_page_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 landing pages have the best conversion rate this week?
SELECT landing_page_view.unexpanded_final_url, metrics.conversions, metrics.clicks FROM landing_page_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 top landing pages by cost in the last month?
SELECT landing_page_view.unexpanded_final_url, metrics.cost_micros FROM landing_page_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'.
Which landing pages have the highest average position in the last 14 days?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_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 is the total number of conversions for landing pages this month?
SELECT landing_page_view.unexpanded_final_url, metrics.conversions FROM landing_page_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 landing pages have the most engagement this week?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY
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 landing pages are most effective in driving traffic in the last 7 days?
SELECT landing_page_view.unexpanded_final_url, metrics.clicks FROM landing_page_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 average impressions for landing pages in the last 30 days?
SELECT landing_page_view.unexpanded_final_url, metrics.impressions FROM landing_page_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 landing pages had the highest cost per conversion in the last week?
SELECT landing_page_view.unexpanded_final_url, metrics.cost_per_conversion FROM landing_page_view WHERE segments.date DURING LAST_WEEK_SUN_SAT 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 landing pages by engagement this month?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_view WHERE segments.date DURING THIS_MONTH
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 landing pages have the highest return on ad spend in the last 14 days?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_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 are the top landing pages by clicks in the last 30 days?
SELECT landing_page_view.unexpanded_final_url, metrics.clicks FROM landing_page_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 landing pages generated the highest conversions this month?
SELECT landing_page_view.unexpanded_final_url, metrics.conversions FROM landing_page_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 is the average CTR for landing pages this week?
SELECT metrics.ctr, landing_page_view.unexpanded_final_url FROM landing_page_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 landing pages have the lowest CPC in the last 14 days?
SELECT landing_page_view.unexpanded_final_url, metrics.average_cpc FROM landing_page_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.average_cpc 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 total impressions for landing pages last month?
SELECT metrics.impressions, landing_page_view.unexpanded_final_url FROM landing_page_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'.
Which landing pages had the most conversions this week?
SELECT landing_page_view.unexpanded_final_url, metrics.conversions FROM landing_page_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'.
How many views did each landing page receive in the last 7 days?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_view WHERE segments.date DURING LAST_7_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'.
Which landing pages had the highest average position last month?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_view WHERE segments.date DURING LAST_MONTH
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 total cost for landing pages this month?
SELECT metrics.cost_micros, landing_page_view.unexpanded_final_url FROM landing_page_view WHERE segments.date DURING THIS_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'.
How do clicks and impressions break down by device for landing pages in the last 30 days?
SELECT landing_page_view.unexpanded_final_url, segments.device, metrics.clicks, metrics.impressions FROM landing_page_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'.
What are the clicks and impressions for each landing page in the last 30 days?
SELECT landing_page_view.unexpanded_final_url, metrics.clicks, metrics.impressions FROM landing_page_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 landing pages generated the most conversions this month?
SELECT landing_page_view.unexpanded_final_url, metrics.conversions FROM landing_page_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'.
How many clicks did each landing page receive yesterday?
SELECT landing_page_view.unexpanded_final_url, metrics.clicks FROM landing_page_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 is the average CPC for landing pages in the last 14 days?
SELECT landing_page_view.unexpanded_final_url, metrics.average_cpc FROM landing_page_view WHERE segments.date DURING LAST_14_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'.
For each landing page, what is the total cost this week?
SELECT landing_page_view.unexpanded_final_url, metrics.cost_micros FROM landing_page_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'.
Which landing pages have the highest CTR in the last 7 days?
SELECT landing_page_view.unexpanded_final_url, metrics.ctr FROM landing_page_view WHERE segments.date DURING LAST_7_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'.
What are the total impressions and conversions for landing pages last month?
SELECT landing_page_view.unexpanded_final_url, metrics.impressions, metrics.conversions FROM landing_page_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'.
How many landing page views did we get today?
SELECT landing_page_view.unexpanded_final_url, metrics.impressions FROM landing_page_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 are the clicks and conversions for landing pages this week?
SELECT landing_page_view.unexpanded_final_url, metrics.clicks, metrics.conversions FROM landing_page_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 landing pages had the lowest average CPC last week?
SELECT landing_page_view.unexpanded_final_url, metrics.average_cpc FROM landing_page_view WHERE segments.date DURING LAST_WEEK_SUN_SAT ORDER BY metrics.average_cpc 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 is the total number of clicks for landing pages in the last 30 days?
SELECT landing_page_view.unexpanded_final_url,metrics.clicks FROM landing_page_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 do conversions break down by landing page in the last 14 days?
SELECT landing_page_view.unexpanded_final_url, metrics.conversions FROM landing_page_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'.
Which landing pages had the highest clicks and impressions last month?
SELECT landing_page_view.unexpanded_final_url, metrics.clicks, metrics.impressions FROM landing_page_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 is the average position of landing pages for today?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_view WHERE segments.date DURING TODAY
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 landing pages had the most engagement in the last 14 days?
SELECT landing_page_view.unexpanded_final_url, metrics.engagements FROM landing_page_view WHERE segments.date DURING LAST_14_DAYS ORDER BY metrics.engagements 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 each landing page achieve this week?
SELECT landing_page_view.unexpanded_final_url, metrics.conversions FROM landing_page_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 total costs for landing pages in the last 30 days?
SELECT landing_page_view.unexpanded_final_url, metrics.cost_micros FROM landing_page_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'.
Which landing pages showed the best conversion rates this month?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_view WHERE segments.date DURING THIS_MONTH
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 landing pages yesterday?
SELECT landing_page_view.unexpanded_final_url, metrics.impressions, metrics.clicks FROM landing_page_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 landing pages had the highest bounce rate in the last 7 days?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_view WHERE segments.date DURING LAST_7_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 was the average CPC for landing pages last week?
SELECT landing_page_view.unexpanded_final_url, metrics.average_cpc FROM landing_page_view WHERE segments.date DURING LAST_WEEK_SUN_SAT 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'.
Which landing pages had the most traffic today?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_view WHERE segments.date DURING TODAY
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 unique visitors did each landing page attract this month?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_view WHERE segments.date DURING THIS_MONTH
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 conversions and conversion value for landing pages this week?
SELECT landing_page_view.unexpanded_final_url, metrics.conversions, metrics.conversions_value FROM landing_page_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 landing pages had the highest impressions last month?
SELECT landing_page_view.unexpanded_final_url, metrics.impressions FROM landing_page_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'.
What are the total clicks and impressions for landing pages today?
SELECT metrics.clicks, landing_page_view.unexpanded_final_url, metrics.impressions FROM landing_page_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'.
Which landing pages had the lowest average position last week?
SELECT landing_page_view.unexpanded_final_url FROM landing_page_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 are the top landing pages by CTR this week?
SELECT landing_page_view.unexpanded_final_url, metrics.ctr FROM landing_page_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'.
Show the total impressions for each expanded landing page this month.
SELECT expanded_landing_page_view.expanded_final_url, metrics.impressions FROM expanded_landing_page_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 expanded landing pages had the highest average CPC last month?
SELECT expanded_landing_page_view.expanded_final_url, metrics.average_cpc FROM expanded_landing_page_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'.
List expanded landing pages with their CTR for today.
SELECT expanded_landing_page_view.expanded_final_url, metrics.ctr FROM expanded_landing_page_view WHERE segments.date DURING 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'.
What are the clicks and conversions for expanded landing pages this week?
SELECT expanded_landing_page_view.expanded_final_url, metrics.clicks, metrics.conversions FROM expanded_landing_page_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'.