Question
stringlengths 19
106
| Query
stringlengths 48
390
| Context
stringclasses 1
value |
|---|---|---|
Show asset groups with the lowest impressions in the last 30 days.
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.impressions FROM asset_group WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.impressions 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 impressions and clicks by asset group this week?
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.impressions, metrics.clicks FROM asset_group 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'.
|
Show the average CPC by asset group for the last 30 days.
|
SELECT campaign.name, asset_group.id, asset_group.name, metrics.average_cpc FROM asset_group 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'.
|
Which asset groups had the highest spend last month?
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.cost_micros FROM asset_group 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'.
|
List all asset groups with conversions today.
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.conversions FROM asset_group WHERE segments.date DURING 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'.
|
Get the click-through rate by asset group this month.
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.ctr FROM asset_group 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 many asset groups have zero conversions in the last 14 days?
|
SELECT campaign.name, asset_group.id, asset_group.name FROM asset_group WHERE segments.date DURING LAST_14_DAYS 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'.
|
Show the number of asset groups by status this week.
|
SELECT campaign.name,asset_group.id, asset_group.name, asset_group.status FROM asset_group 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'.
|
What is the performance of asset groups in terms of revenue last 30 days?
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.conversions_value FROM asset_group WHERE segments.date DURING LAST_30_DAYS 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'.
|
Which asset groups have the highest impressions this month?
|
SELECT campaign.name, asset_group.id, asset_group.name, metrics.impressions FROM asset_group 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'.
|
Show me the asset groups with the most clicks last week.
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.clicks FROM asset_group 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 top asset groups by conversions this week?
|
SELECT campaign.name, asset_group.id, asset_group.name, metrics.conversions FROM asset_group 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'.
|
Show the Cost and ROAS by asset group this month.
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.cost_micros, metrics.conversions_value_per_cost FROM asset_group 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'.
|
What are the impressions and clicks for each asset group in the last 30 days?
|
SELECT campaign.name, asset_group.id, asset_group.name, metrics.impressions, metrics.clicks FROM asset_group 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'.
|
List the asset groups with the highest CTR in the last 14 days.
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.ctr FROM asset_group 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 asset groups have the highest conversion rate this week?
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.conversions, metrics.conversions_from_interactions_rate FROM asset_group 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'.
|
Show the average CPC for asset groups in the last 7 days.
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.average_cpc FROM asset_group WHERE segments.date DURING LAST_7_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 the click-through rates for asset groups this month?
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.ctr FROM asset_group 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'.
|
Identify the asset groups with the most spend last month.
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.cost_micros FROM asset_group 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 asset groups are performing best in conversions this week?
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.conversions FROM asset_group 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'.
|
Show the performance of asset groups yesterday.
|
SELECT campaign.name,asset_group.id, asset_group.name,customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM asset_group 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 is the cost per conversion for asset groups in the last 30 days?
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.cost_per_conversion FROM asset_group 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'.
|
Show the asset groups performance metrics for this week.
|
SELECT campaign.name,asset_group.id, asset_group.name, customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM asset_group 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 are the trends in asset group performance over the last 14 days?
|
SELECT campaign.name,asset_group.id, asset_group.name, customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM asset_group 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 is the total cost for each asset group in the last 30 days?
|
SELECT campaign.name,asset_group.id, asset_group.name,, metrics.cost_micros FROM asset_group 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'.
|
List all asset groups with their impressions this month.
|
SELECT campaign.name,,asset_group.id,asset_group.name, metrics.impressions FROM asset_group 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'.
|
How many clicks did each asset group receive last week?
|
SELECT campaign.name,,asset_group.id,asset_group.name, metrics.clicks FROM asset_group 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'.
|
Show asset groups and their average CPC for this week.
|
SELECT campaign.name,,asset_group.id,asset_group.name, metrics.average_cpc FROM asset_group WHERE segments.date DURING THIS_WEEK_SUN_TODAY 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 asset groups had the highest CTR last month?
|
SELECT campaign.name,,asset_group.id,asset_group.name, metrics.ctr FROM asset_group WHERE segments.date DURING LAST_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'.
|
What are the conversions for each asset group this month?
|
SELECT campaign.name,,asset_group.id,asset_group.id, asset_group.name,, metrics.conversions FROM asset_group 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 conversions did asset groups achieve in the last 14 days?
|
SELECT campaign.name,,asset_group.id,asset_group.name, metrics.conversions FROM asset_group 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 is the CTR for each asset group today?
|
SELECT campaign.name,,asset_group.id,asset_group.name, metrics.ctr FROM asset_group 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'.
|
Show the performance metrics for asset groups yesterday.
|
SELECT campaign.name,,asset_group.id,asset_group.name, customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM asset_group 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'.
|
List asset groups with their conversion rates this month.
|
SELECT campaign.name,,asset_group.id,asset_group.name, metrics.conversions_from_interactions_rate FROM asset_group 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'.
|
Which asset groups had the most clicks in the last 30 days?
|
SELECT campaign.name,,asset_group.id,asset_group.name, metrics.clicks FROM asset_group 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 is the cost per conversion for asset groups this week?
|
SELECT campaign.name,,asset_group.id,asset_group.name, metrics.cost_per_conversion FROM asset_group WHERE segments.date DURING THIS_WEEK_SUN_TODAY 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'.
|
How many impressions did each asset group receive this month?
|
SELECT campaign.name, asset_group.id, asset_group.name, metrics.impressions FROM asset_group 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 is the click-through rate (CTR) for each asset group over the last week?
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.ctr FROM asset_group 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'.
|
Show the cost for each asset group yesterday.
|
SELECT campaign.name,asset_group.id, asset_group.name, metrics.cost_micros FROM asset_group WHERE segments.date DURING YESTERDAY 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 total clicks and impressions for PMax product groups this month?
|
SELECT campaign.name, asset_group.id, asset_group.name,metrics.clicks, metrics.impressions FROM asset_group_product_group_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 PMax product groups had the highest CTR in the last 30 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.ctr FROM asset_group_product_group_view WHERE segments.date DURING LAST_30_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'.
|
How many conversions did each PMax product group achieve last week?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.conversions FROM asset_group_product_group_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 is the average CPC for PMax product groups this month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.average_cpc FROM asset_group_product_group_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 clicks and conversions by day for PMax product groups in the last 14 days.
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.clicks, metrics.conversions, segments.date FROM asset_group_product_group_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 PMax product groups had the highest cost in the last 7 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.cost_micros FROM asset_group_product_group_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 total conversions and click-through rate for each PMax product group today?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.conversions, metrics.ctr FROM asset_group_product_group_view WHERE segments.date DURING 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 impressions did PMax product groups receive last month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.impressions FROM asset_group_product_group_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 is the conversion value for PMax product groups this week?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.conversions_value FROM asset_group_product_group_view WHERE segments.date DURING THIS_WEEK_SUN_TODAY 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'.
|
Which PMax product groups performed best in terms of clicks in the last 30 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.clicks FROM asset_group_product_group_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 the number of clicks and conversions for PMax product groups yesterday.
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.clicks, metrics.conversions FROM asset_group_product_group_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 total clicks, impressions, and cost for PMax product groups this month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.clicks, metrics.impressions, metrics.cost_micros FROM asset_group_product_group_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 PMax product groups had the highest clicks in the last 30 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name, metrics.clicks FROM asset_group_product_group_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 total impressions by Pmax product group today?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.impressions FROM asset_group_product_group_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 conversions did each Pmax product group achieve last month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name.metrics.conversions FROM asset_group_product_group_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'.
|
Show the performance of Pmax product groups this week.
|
SELECT campaign.name,
asset_group.id,
asset_group.name,customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM asset_group_product_group_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 daily metrics for Pmax product groups over the last 14 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name, segments.date, metrics.impressions, metrics.clicks FROM asset_group_product_group_view WHERE segments.date DURING LAST_14_DAYS ORDER BY segments.date
|
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 Pmax product groups have the highest cost in the last 30 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.cost_micros FROM asset_group_product_group_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'.
|
How did Pmax product groups perform yesterday?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.impressions, metrics.clicks, metrics.conversions FROM asset_group_product_group_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 clicks by Pmax product group for this month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.clicks FROM asset_group_product_group_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 Pmax product groups had the highest CTR last week?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.ctr FROM asset_group_product_group_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'.
|
How many impressions did Pmax product groups get this week?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.impressions FROM asset_group_product_group_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 was the performance of Pmax product groups in the last 7 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM asset_group_product_group_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'.
|
Show me the metrics for Pmax product groups today.
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.impressions, metrics.clicks FROM asset_group_product_group_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 PMax product groups had the highest clicks in the last 30 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.clicks FROM asset_group_product_group_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 impressions and clicks for each PMax product group this month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.impressions, metrics.clicks FROM asset_group_product_group_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'.
|
How many conversions did each PMax product group achieve last week?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.conversions FROM asset_group_product_group_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 is the average CPC by PMax product group for the last 14 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.average_cpc FROM asset_group_product_group_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'.
|
List PMax product groups with the highest cost this month.
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.cost_micros FROM asset_group_product_group_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'.
|
Which PMax product groups had the highest CTR in the last 30 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.ctr FROM asset_group_product_group_view WHERE segments.date DURING LAST_30_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 performance metrics for PMax product groups this week?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM asset_group_product_group_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'.
|
How many view-through conversions did each PMax product group get last month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.view_through_conversions FROM asset_group_product_group_view WHERE segments.date DURING LAST_MONTH ORDER BY metrics.view_through_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 overall performance of PMax product groups in the last 7 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.average_cpc, metrics.cost_micros, metrics.conversions, metrics.conversions_value FROM asset_group_product_group_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 PMax product groups had the highest conversions this month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.conversions FROM asset_group_product_group_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 total clicks by asset group this month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.clicks FROM asset_group 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 each asset group receive last 30 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.impressions FROM asset_group 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 asset groups had the highest CTR last 7 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.ctr FROM asset_group 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 is the total conversion value by asset group this week?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.conversions_value FROM asset_group WHERE segments.date DURING THIS_WEEK_SUN_TODAY 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'.
|
How many conversions did asset groups achieve yesterday?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.conversions FROM asset_group 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 clicks and impressions by asset group last month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name, metrics.clicks, metrics.impressions FROM asset_group 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 asset groups have the highest conversion rate this month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.conversions, metrics.clicks, metrics.conversions_from_interactions_rate FROM asset_group 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 are the total impressions by asset group this week?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.impressions FROM asset_group 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'.
|
How many conversions did asset groups achieve last 14 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.conversions FROM asset_group 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 is the average CPC for asset groups this month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.average_cpc FROM asset_group 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'.
|
Which asset groups had the most significant increase in conversions last week?
|
SELECT campaign.name,
asset_group.id,
asset_group.name, metrics.conversions FROM asset_group 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'.
|
How many clicks did asset groups receive today?
|
SELECT campaign.name,
asset_group.id,
asset_group.name, metrics.clicks FROM asset_group 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 asset groups have the highest conversions this month?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.conversions FROM asset_group 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 click metrics for asset groups in the last 14 days?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.clicks FROM asset_group 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'.
|
What are the total clicks for asset groups this week?
|
SELECT campaign.name,
asset_group.id,
asset_group.name,metrics.clicks FROM asset_group 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 asset groups had the highest CTR in the last 30 days?
|
SELECT campaign.name, asset_group.id, asset_group.name,metrics.ctr FROM asset_group WHERE segments.date DURING LAST_30_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'.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.