Overview: Query Builder for Google Ads
With the Query Builder for Google Ads, you can create Custom Google Ads Metrics using a combination of Metrics, Dimensions and Filters. Some popular use cases for the Query Builder for Google Ads include creating Campaign- and Ad Group-specific Metrics, and accessing specific Performance Reports from your Google Ads Account.
How to access the Query Builder for Google Ads
Navigate to Metrics > Query Builder to access the Query Builder for Google Ads. Click the green + Create Custom Metric button and select your connected Google Ads Account from the Data Source drop-down list.
Query Builder is available on the Professional and Performer plans. Request a trial of Query Builder by following
How to use the Query Builder for Google Ads
Pro Tip: Add the word "by" in between the Metric and Dimension in order to determine an appropriate Custom Metric Name. From the Metric and Dimension examples outlined above, we could create the Custom Metrics "Reach by Campaign," "Clicks by Region," or "Impressions by Device Platform."
Pro Tip : If you don't know which Filters to put in place for your use case, use the Dimension + Data Preview to troubleshoot and get more insight into the data that is returned from your Google Ads Account for each field. Learn more here.
How to create a Custom Google Ads Metric [Example]
In this example, we'll create a Custom Metric to report on "Click through Rate (CTR)" tracked in the Google Ads Account, split up based on the Campaign. We only want to view this data for Campaigns that we're actively working on, so "Cost" is above $0.
How to add a Custom Google Ads Metric to a Databoard
Learn how to add a Custom Metric to a Databoard here.
- Using the Query Builder for Google Ads, the "Criteria" Dimension differs depending on the Report you have selected. The "Criteria" returned always matches the first word of the Report selected (i.e. Keyword Performance Report ("Criteria" = "Keywords"), Gender Performance Report ("Criteria" = "Gender"), Geo Performance Report ("Criteria" = "Geo").
- When using the "City","Region" or "Country/Territory" Dimension, only ID's are returned and not the actual geographical names. You can use the feature within Query Builder that enables you to rename or exclude Metric Dimensions. Learn more here. Learn more about region IDs of the geographical locations here