Google Ads connector reference
This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Databricks previews.
This page provides reference information for the managed Google Ads connector in Lakeflow Connect, including supported tables, column definitions, and data types.
Supported tables
The Google Ads connector supports the following types of tables:
- Resource tables: Configuration data about your Google Ads account, like campaigns, ad groups, and ads. These tables are fully refreshed on each pipeline run.
- Report tables: Performance metrics, like impressions, clicks, and conversions. These tables support incremental ingestion.
Resource tables
Table name | Description |
|---|---|
| Information about Google Ads accounts. |
| Campaign configuration and settings. |
| Budget settings for campaigns. |
| Targeting criteria for campaigns. |
| Ad group configuration. |
| Targeting criteria for ad groups. |
| Individual ad details and settings. |
Report tables
Table name | Description |
|---|---|
| Account-level performance metrics. |
| Campaign-level performance metrics. |
| Ad group-level performance metrics. |
| Ad-level performance metrics. |
| Keyword-level performance metrics. |
| Search query-level performance metrics. |
Data type conventions
Money storage (micros)
Google Ads stores monetary values in micros to avoid rounding issues. One million micros equals one unit of currency:
1,000,000 micros = $1.00 USD5,500,000 micros = $5.50 USD
Fields with _micros suffix contain values stored in micros. Divide by 1,000,000 to convert to your currency.
Primary keys
Tables use (Primary Key) notation to indicate columns that form the primary key. Composite primary keys are indicated by multiple columns marked as (Primary Key).
Resource table schemas
customer
Information about Google Ads accounts.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Customer account ID. |
|
| Google Ads resource name. |
|
| Human-friendly name for the Google Ads account. |
|
| Currency code for the account. |
|
| Time zone of the account. |
|
| Status of the account. |
|
| Whether this customer is a Manager Account (MCC). |
campaign
Campaign configuration and settings.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Campaign ID. |
|
| Campaign name. |
|
| Campaign status. |
|
| Advertising channel type. |
|
| Campaign start date. |
|
| Campaign end date. |
|
| Associated campaign budget. |
|
| Bidding strategy type. |
campaign_budget
Budget settings for campaigns.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Budget ID. |
|
| Google Ads resource name. |
|
| Budget name. |
|
| Budget amount in micros. Divide by 1,000,000 to convert to currency. |
|
| How Google spends the daily budget (standard or accelerated). |
|
| Budget period. |
|
| Budget status. |
campaign_criterion
Targeting criteria for campaigns.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Campaign ID. |
|
| Primary key. Criterion ID. |
|
| Google Ads resource name. |
|
| Criterion type. |
|
| Criterion status. |
|
| Whether this criterion excludes an audience. |
|
| Bid modifier value. |
ad_group
Ad group configuration.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Ad group ID. |
|
| Ad group name. |
|
| Ad group status. |
|
| Associated campaign ID. |
|
| Ad group type. |
|
| Cost per click bid in micros. |
|
| Target cost per acquisition in micros. |
ad_group_criterion
Targeting criteria for ad groups.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Criterion ID. |
|
| Primary key. Ad group ID. |
|
| Google Ads resource name. |
|
| Criterion status. |
|
| Criterion type. |
|
| Whether this criterion excludes an audience. |
|
| Keyword match type (exact, phrase, broad). |
|
| Keyword text. |
ad
Individual ad details and settings. This table corresponds to ad_group_ad in the Google Ads API.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Ad ID. |
|
| Primary key. Ad group ID. |
|
| Ad status. |
|
| Ad type. |
|
| Landing page URLs after clicking the ad. |
|
| Whether the ad is approved under Google Ads policy (APPROVED or DISAPPROVED). |
|
| Whether Google has finished reviewing the ad (REVIEW_IN_PROGRESS or REVIEWED). |
Report table schemas
customer_report
Account-level performance metrics.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Customer account ID. |
|
| Primary key. Date in YYYY-MM-DD format. |
|
| Primary key. Device type. |
|
| Primary key. Ad network type. |
|
| Number of impressions. |
|
| Number of clicks. |
|
| Cost in micros. Divide by 1,000,000 to convert to currency. |
|
| Number of conversions. |
|
| Total conversion value. |
|
| Click-through rate. |
|
| Average cost per click. |
campaign_report
Campaign-level performance metrics.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Customer account ID. |
|
| Primary key. Campaign ID. |
|
| Primary key. Date in YYYY-MM-DD format. |
|
| Primary key. Device type. |
|
| Primary key. Ad network type. |
|
| Campaign name. |
|
| Campaign status. |
|
| Number of impressions. |
|
| Number of clicks. |
|
| Cost in micros. |
|
| Number of conversions. |
ad_group_report
Ad group-level performance metrics.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Customer account ID. |
|
| Primary key. Ad group ID. |
|
| Primary key. Date in YYYY-MM-DD format. |
|
| Primary key. Device type. |
|
| Primary key. Ad network type. |
|
| Ad group name. |
|
| Ad group status. |
|
| Associated campaign ID. |
|
| Number of impressions. |
|
| Number of clicks. |
|
| Cost in micros. |
keyword_report
Keyword-level performance metrics.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Customer account ID. |
|
| Primary key. Date in YYYY-MM-DD format. |
|
| Primary key. Criterion ID. |
|
| Primary key. Ad group ID. |
|
| Primary key. Device type. |
|
| Primary key. Ad network type. |
|
| Keyword text. |
|
| Keyword match type. |
|
| Number of impressions. |
|
| Number of clicks. |
|
| Cost in micros. |
ad_report
Ad-level performance metrics.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Customer account ID. |
|
| Primary key. Date in YYYY-MM-DD format. |
|
| Primary key. Ad ID. |
|
| Primary key. Ad group ID. |
|
| Primary key. Device type. |
|
| Primary key. Ad network type. |
|
| Associated campaign ID. |
|
| Number of impressions. |
|
| Number of clicks. |
|
| Cost in micros. |
|
| Number of conversions. |
search_query_report
Search query-level performance metrics.
Column | Data type | Description |
|---|---|---|
|
| Primary key. Customer account ID. |
|
| Primary key. Date in YYYY-MM-DD format. |
|
| Primary key. Google Ads resource name. |
|
| User's search term. |
|
| How the keyword matched the search term. |
|
| Associated ad group ID. |
|
| Associated campaign ID. |
|
| Number of impressions. |
|
| Number of clicks. |
Incremental ingestion
Report tables support incremental ingestion with a configurable lookback window. The connector uses the date column as the cursor column for tracking incremental updates.
For more information about incremental ingestion and lookback windows, see Google Ads connector concepts.