FREE PPC TOOL

Free GAQL Query Builder

Free GAQL Query Builder

Free GAQL Query Builder

Build Google Ads queries with 47 resources, 457 fields and 22 templates. Explore field compatibility, validate the supported syntax or run a query on simulated data. No login or advertising account needed.

▪ GAQL WORKBENCH

GAQL Playground

Build GAQL using an expanded field catalog, or test supported queries on simulated data. No Google Ads connection.

47 resources · 457 fields · Curated API v26 catalog. Local checks, not full API validation.
Catalog & metadata

The built-in catalog covers common PPC reports. To use a larger exact-version metadata snapshot, import a GoogleAdsFieldService JSON export (name, category, selectable, filterable, sortable, dataType, selectableWith, attributeResources, metrics, segments). The file stays in this browser; no credentials or account data are requested.

Official field reference ↗ · Metadata schema ↗

SELECT FIELDS (5 selected / 122 available)
122 matching fields · Demo = executable on sample data
id
ATTRIBUTENUMBERDEMOReference ↗
name
ATTRIBUTESee type in docsDEMOReference ↗
status
ATTRIBUTESee type in docsDEMOReference ↗
resource name
ATTRIBUTERESOURCE_NAMEReference ↗
advertising channel type
ATTRIBUTESee type in docsDEMOReference ↗
advertising channel sub type
ATTRIBUTESee type in docsReference ↗
bidding strategy
ATTRIBUTESee type in docsReference ↗
bidding strategy type
ATTRIBUTESee type in docsReference ↗
bidding strategy system status
ATTRIBUTESee type in docsReference ↗
campaign budget
ATTRIBUTESee type in docsReference ↗
start date
ATTRIBUTEDATEReference ↗
end date
ATTRIBUTEDATEReference ↗
serving status
ATTRIBUTESee type in docsReference ↗
primary status
ATTRIBUTESee type in docsReference ↗
optimization score
ATTRIBUTENUMBERReference ↗
tracking url template
ATTRIBUTESee type in docsReference ↗
final url suffix
ATTRIBUTESee type in docsReference ↗
network settings · target google search
ATTRIBUTEBOOLEANReference ↗
network settings · target search network
ATTRIBUTEBOOLEANReference ↗
network settings · target content network
ATTRIBUTEBOOLEANReference ↗
network settings · target partner search
ATTRIBUTEBOOLEANReference ↗
Target CPA for Maximize conversions, in micros.
ATTRIBUTENUMBERReference ↗
Target ROAS for Maximize conversion value.
ATTRIBUTENUMBERReference ↗
target cpa · target cpa micros
ATTRIBUTENUMBERReference ↗
target roas · target roas
ATTRIBUTENUMBERReference ↗
manual cpc · enhanced cpc enabled
ATTRIBUTEBOOLEANReference ↗
target impression share · location
ATTRIBUTESee type in docsReference ↗
target impression share · location fraction micros
ATTRIBUTENUMBERReference ↗
target impression share · cpc bid ceiling micros
ATTRIBUTENUMBERReference ↗
Whether AI Max is enabled.
ATTRIBUTEBOOLEANReference ↗
id
ATTRIBUTENUMBERReference ↗
descriptive name
ATTRIBUTESee type in docsReference ↗
currency code
ATTRIBUTESee type in docsDEMOReference ↗
time zone
ATTRIBUTESee type in docsReference ↗
id
ATTRIBUTENUMBERReference ↗
name
ATTRIBUTESee type in docsReference ↗
Average daily budget, in account-currency micros.
ATTRIBUTENUMBERReference ↗
Lifetime budget for a custom-period campaign.
ATTRIBUTENUMBERReference ↗
period
ATTRIBUTESee type in docsReference ↗
explicitly shared
ATTRIBUTEBOOLEANReference ↗
id
ATTRIBUTENUMBERReference ↗
name
ATTRIBUTESee type in docsReference ↗
type
ATTRIBUTESee type in docsReference ↗
Number of ad impressions.
METRICNUMBERDEMOReference ↗
Number of ad clicks.
METRICNUMBERDEMOReference ↗
Cost in millionths of the account currency.
METRICNUMBERDEMOReference ↗
Conversions included in the Conversions metric.
METRICNUMBERDEMOReference ↗
Reported value of those conversions.
METRICNUMBERDEMOReference ↗
Clicks divided by impressions.
METRICNUMBERDEMOReference ↗
Cost per click, in micros.
METRICNUMBERDEMOReference ↗
Cost per thousand impressions, in micros.
METRICNUMBERDEMOReference ↗
average cost
METRICNUMBERDEMOReference ↗
interactions
METRICNUMBERDEMOReference ↗
interaction rate
METRICNUMBERDEMOReference ↗
Conversions divided by eligible ad interactions.
METRICNUMBERDEMOReference ↗
Average cost per conversion, in micros.
METRICNUMBERDEMOReference ↗
Conversion value divided by advertising cost.
METRICNUMBERDEMOReference ↗
value per conversion
METRICNUMBERDEMOReference ↗
Conversions across included and additional conversion actions.
METRICNUMBERDEMOReference ↗
Reported value for All conversions.
METRICNUMBERDEMOReference ↗
all conversions from interactions rate
METRICNUMBERDEMOReference ↗
cost per all conversions
METRICNUMBERDEMOReference ↗
all conversions value per cost
METRICNUMBERDEMOReference ↗
value per all conversions
METRICNUMBERDEMOReference ↗
view through conversions
METRICNUMBERReference ↗
cross device conversions
METRICNUMBERReference ↗
Received Search impressions divided by eligible Search impressions.
METRICNUMBERReference ↗
Eligible Search impressions missed because of Ad Rank.
METRICNUMBERReference ↗
Absolute top impressions relative to eligible absolute top impressions.
METRICNUMBERReference ↗
Top Search impressions relative to eligible top impressions.
METRICNUMBERReference ↗
search rank lost absolute top impression share
METRICNUMBERReference ↗
search rank lost top impression share
METRICNUMBERReference ↗
search click share
METRICNUMBERReference ↗
top impression percentage
METRICNUMBERReference ↗
absolute top impression percentage
METRICNUMBERReference ↗
Eligible Search impressions missed because of budget.
METRICNUMBERReference ↗
search budget lost top impression share
METRICNUMBERReference ↗
search budget lost absolute top impression share
METRICNUMBERReference ↗
content budget lost impression share
METRICNUMBERReference ↗
conversions by conversion date
METRICNUMBERReference ↗
conversions value by conversion date
METRICNUMBERReference ↗
all conversions by conversion date
METRICNUMBERReference ↗
all conversions value by conversion date
METRICNUMBERReference ↗
orders
METRICNUMBERReference ↗
units sold
METRICNUMBERReference ↗
revenue micros
METRICNUMBERReference ↗
gross profit micros
METRICNUMBERReference ↗
cost of goods sold micros
METRICNUMBERReference ↗
gross profit margin
METRICNUMBERReference ↗
average cart size
METRICNUMBERReference ↗
average order value micros
METRICNUMBERReference ↗
video trueview views
METRICNUMBERReference ↗
video trueview view rate
METRICNUMBERReference ↗
video quartile p25 rate
METRICNUMBERReference ↗
video quartile p50 rate
METRICNUMBERReference ↗
video quartile p75 rate
METRICNUMBERReference ↗
video quartile p100 rate
METRICNUMBERReference ↗
trueview average cpv
METRICNUMBERReference ↗
engagements
METRICNUMBERReference ↗
engagement rate
METRICNUMBERReference ↗
QUERY.GAQL10 lines
Choose an example, explore the catalog and validate or run a demo.
Query results
6 rows shown / 6 matching · simulated
campaign.nameimpressionsclickscost_micros ($)conversions
Search | Generic15,0901,180$1,522.8263
Search | Brand14,1101,100$1,428.8862
PMax | Retail14,4601,116$1,407.7860
Shopping | Essentials13,4301,048$1,347.2060
Search | Research13,1401,027$1,339.670
Search | Legacy00$0.000
1–6 of 6
Supported grammar & demo limitations

Build & Validate uses an expanded, curated v26 catalog or a user-imported field metadata snapshot. Local checks cover field membership, basic compatibility, SELECT, FROM, WHERE, AND, comparisons, IN, NOT IN, BETWEEN, LIKE, NOT LIKE, DURING, ORDER BY and LIMIT, with additional operators in catalog mode. They are not a substitute for Google’s API validator. Run Demo supports a smaller executable subset. Data covers Nov 5–Dec 4, 2026 (fixed demo clock Dec 5). Demo interactions equal clicks, All conversions equal conversions, and network labels are illustrative. Resource datasets do not reconcile across reports. CSV uses raw values. Maximum 200 demo result rows. No account data or API requests.

Before production, use the official Google query validator and v26 field reference.

Learn GAQL step by step.

Understand GAQL syntax, date ranges, resource compatibility, reporting pitfalls and 12 practical PPC query examples.

How to use the GAQL Query Builder

Choose a resource, select attributes, metrics and segments, then add filters, dates, sorting and a row limit. Switch to Code editor to edit GAQL directly. Validate query checks the supported syntax and local field catalog; Run Demo executes supported queries on simulated campaign data.

What does the builder validate?

The curated v26 catalog covers common reporting fields, not the complete Google Ads API. The demo supports eight resources and 46 fields, and never connects to a real advertising account. For production, check your query in Google’s official version-specific validator. Results and CSV files are illustrative.

Sometimes the hardest part is reaching out but once you do, we’ll make the rest easy.

Address

Office 54687-01 Building A1 Dubai Digital Park, Silicon Oasis

Opening Hours

24/7

No time for rest

9:45:38 AM+00.00

Sometimes the hardest part is reaching out but once you do, we’ll make the rest easy.

Address

Office 54687-01 Building A1 Dubai Digital Park, Silicon Oasis

Opening Hours

24/7

No time for rest

9:45:38 AM+00.00

Sometimes the hardest part is reaching out but once you do, we’ll make the rest easy.

Address

Office 54687-01 Building A1 Dubai Digital Park, Silicon Oasis

Opening Hours

24/7

No time for rest

9:45:38 AM+00.00