For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integration Specifications

Integration Overview

Google is the place people go to search for information, places, products, and more, so this is where brands want to make sure they have a presence. Show up when users search in text, product listing, video ads, and more with Ads.

The Daasity Google Ads integration extracts key advertising information from the Google platform, like spend, clicks, and impressions. Because Google has several networks, info is available in the area of Google (i.e., Youtube, Text Search) and by the campaign.

Integration Availability

This integration is available for:

  • Enterprise

  • Growth

API Endpoints

The Daasity Google Ads extractor is built based on this Google Ads API Documentation. The following endpoints are used by Daasity to replicate data from Google Ads.

Entity Relationship Diagram (ERD)

Click here to view the ERD for the Daasity Google Ads integration illustrating the different tables and keys to join across tables.

Google Ads Schema

The Daasity Google Ads extractor creates these tables using the endpoints and replication methods listed. The data is mapped from the source API endpoint to the table based on the mapping logic outlined in each table. JSON Elements are the fields of the Google Ads API (GAQL) report rows; money columns ending in micros, and cost, are stored in micros as returned by the API.

By default the integration extracts Ads, Ad Groups, Campaigns, Keywords and Campaign Product Performance. Geo Campaigns and Geo Ad Groups are optional reports that can be enabled on the integration.

Ads

  • Endpoint: Reports

  • Update Method: UPSERT

  • Table Name: [adwords.ads]

JSON Element
Database Column

MD5(adGroupAd.ad.id + segments.date)

id

segments.date

date

segments.device

device

adGroupAd.ad.legacyResponsiveDisplayAd.businessName

business_name

customer.descriptiveName

account_descriptive_name

customer.currencyCode

account_currency_code

adGroupAd.ad.addedByGoogleAds

automated

adGroupAd.adGroup (ID from the resource name)

ad_group_id

adGroupAd.ad.id

adwords_ad_id

adGroupAd.ad.type

ad_type

segments.adNetworkType

ad_network_type1

segments.adNetworkType

ad_network_type2

metrics.activeViewCpm

active_view_cpm

metrics.activeViewCtr

active_view_ctr

metrics.activeViewImpressions

active_view_impressions

metrics.averageCost

average_cost

metrics.averageCpc

average_cpc

metrics.averageCpm

average_cpm

metrics.trueviewAverageCpv

average_cpv

adGroupAd.ad.legacyResponsiveDisplayAd.callToActionText

call_to_action_text

metrics.clicks

clicks

metrics.conversions

conversions

metrics.conversionsValue

conversion_value

metrics.costMicros

cost

metrics.allConversions

all_conversions

metrics.allConversionsValue

all_conversion_value

metrics.crossDeviceConversions

cross_device_conversions

metrics.ctr

ctr

adGroupAd.ad.expandedTextAd.description

description

adGroupAd.ad.displayUrl

display_url

adGroupAd.ad.textAd.headline

headline

adGroupAd.ad.imageAd.name

image_creative_name

metrics.impressions

impressions

metrics.interactions

interactions

metrics.interactionEventTypes

interaction_types

adGroupAd.ad.legacyResponsiveDisplayAd.mainColor

main_color

adGroupAd.ad.responsiveDisplayAd.accentColor

accent_color

adGroupAd.ad.responsiveSearchAd.headlines

responsive_search_ad_headlines

adGroupAd.ad.responsiveSearchAd.descriptions

responsive_search_ad_descriptions

adGroupAd.status

status

metrics.videoQuartileP25Rate

video_quartile25_rate

metrics.videoQuartileP50Rate

video_quartile50_rate

metrics.videoQuartileP75Rate

video_quartile75_rate

metrics.videoQuartileP100Rate

video_quartile100_rate

metrics.videoTrueviewViews

video_views

metrics.viewThroughConversions

view_through_conversions

MD5(adGroupAd.ad.id + segments.date + segments.device + ad group ID + adGroupAd.ad.type + segments.adNetworkType + segments.adNetworkType)

_key

— (no longer populated)

average_position

— (no longer populated)

creative_destination_url

— (no longer populated)

gmail_teaser_headline

— (no longer populated)

marketing_image_headline

— (no longer populated)

marketing_image_description

Google Ads customer ID

adwords_client_id

ID of Merchant in Daasity App

_account_id

timestamp when data was extracted from Google Ads

__synced_at

Ad Groups

  • Endpoint: Reports

  • Update Method: UPSERT

  • Table Name: [adwords.adgroups]

JSON Element
Database Column

MD5(adGroup.id + segments.date)

id

segments.date

date

segments.device

device

campaign.id

campaign_id

adGroup.id

ad_group_id

adGroup.name

ad_group_name

adGroup.status

ad_group_status

adGroup.type

ad_group_type

segments.adNetworkType

ad_network_type1

segments.adNetworkType

ad_network_type2

segments.adRotationMode

ad_rotation_mode

adGroup.cpcBidMicros

cpc_bid

adGroup.cpmBidMicros

cpm_bid

adGroup.cpvBidMicros

cpv_bid

metrics.viewThroughConversions

view_through_conversions

metrics.allConversions

all_conversions

metrics.conversions

conversions

metrics.crossDeviceConversions

cross_device_conversions

metrics.allConversionsFromInteractionsRate

all_conversion_rate

metrics.conversionsFromInteractionsRate

conversion_rate

metrics.allConversionsValue

all_conversion_value

metrics.conversionsValue

conversion_value

metrics.costMicros

cost

MD5(adGroup.name + adGroupAd.id + segments.date + segments.device + campaign.id + adGroup.type + segments.adNetworkType + segments.adNetworkType)

_key

Google Ads customer ID

adwords_client_id

ID of Merchant in Daasity App

_account_id

timestamp when data was extracted from Google Ads

__synced_at

Campaigns

  • Endpoint: Reports

  • Update Method: UPSERT

  • Table Name: [adwords.campaigns]

JSON Element
Database Column

MD5(campaign.id + segments.date)

id

segments.date

date

segments.device

device

campaign.id

campaign_id

campaign.name

campaign_name

campaign.status

campaign_status

metrics.viewThroughConversions

view_through_conversions

metrics.allConversions

all_conversions

metrics.conversions

conversions

metrics.crossDeviceConversions

cross_device_conversions

metrics.allConversionsFromInteractionsRate

all_conversions_rate

metrics.conversionsFromInteractionsRate

conversion_rate

metrics.allConversionsValue

all_conversion_value

metrics.conversionsValue

conversion_value

metrics.costMicros

cost

metrics.clicks

clicks

metrics.impressions

impressions

MD5(campaign.id + segments.date + segments.device)

_key

— (no longer populated)

campaign_group_id

Google Ads customer ID

adwords_client_id

ID of Merchant in Daasity App

_account_id

timestamp when data was extracted from Google Ads

__synced_at

Keywords

  • Endpoint: Reports

  • Update Method: UPSERT

  • Table Name: [adwords.keywords]

JSON Element
Database Column

MD5(adGroupCriterion.criterionId + segments.date)

id

segments.date

date

segments.device

device

adGroup.id

ad_group_id

adGroupCriterion.effectiveCpcBidMicros

cpc_bid

adGroupCriterion.effectiveCpmBidMicros

cpm_bid

adGroupCriterion.positionEstimates.estimatedAddClicksAtFirstPositionCpc

estimated_add_clicks_at_first_position_cpc

adGroupCriterion.positionEstimates.estimatedAddCostAtFirstPositionCpc

estimated_add_cost_at_first_position_cpc

adGroupCriterion.positionEstimates.firstPageCpcMicros

first_page_cpc

adGroupCriterion.positionEstimates.firstPositionCpcMicros

first_position_cpc

adGroupCriterion.positionEstimates.topOfPageCpcMicros

top_of_page_cpc

adGroupCriterion.qualityInfo.creativeQualityScore

creative_quality_score

adGroupCriterion.keyword.matchType

keyword_match_type

adGroupCriterion.qualityInfo.postClickQualityScore

post_click_quality_score

adGroupCriterion.qualityInfo.qualityScore

quality_score

adGroupCriterion.qualityInfo.searchPredictedCtr

search_predicted_ctr

adGroupCriterion.status

status

adGroupCriterion.urlCustomParameters

url_custom_parameters

metrics.activeViewCpm

active_view_cpm

metrics.clicks

clicks

metrics.impressions

impressions

metrics.interactions

interactions

metrics.averageCost

average_cost

metrics.averageCpc

average_cpc

metrics.averageCpm

average_cpm

metrics.trueviewAverageCpv

average_cpv

metrics.conversions

conversions

metrics.conversionsValue

conversion_value

metrics.costPerAllConversions

cost_per_all_conversion

metrics.costPerConversion

cost_per_conversion

metrics.ctr

ctr

metrics.searchExactMatchImpressionShare

search_exact_match_impression_share

metrics.searchImpressionShare

search_impression_share

metrics.searchRankLostImpressionShare

search_rank_lost_impression_share

metrics.valuePerAllConversions

value_per_all_conversion

metrics.valuePerConversion

value_per_conversion

MD5(adGroupCriterion.criterionId + segments.date + segments.device + adGroup.id)

_key

— (no longer populated)

average_position

Google Ads customer ID

adwords_client_id

ID of Merchant in Daasity App

_account_id

timestamp when data was extracted from Google Ads

__synced_at

Campaign Product Performance

  • Endpoint: Reports

  • Update Method: UPSERT

  • Table Name: [adwords.campaign_product_performance]

Shopping performance by campaign, product item and day (shopping_performance_view).

JSON Element
Database Column

MD5(campaign.id + segments.productItemId + segments.date + segments.productTitle)

id

campaign.id

campaign_id

campaign.name

campaign_name

campaign.status

campaign_status

segments.date

date

segments.productItemId

product_item_id

segments.productTitle

product_title

metrics.allConversions

all_conversions

metrics.allConversionsValue

all_conversions_value

metrics.allConversionsFromInteractionsRate

all_conversions_from_interactions_rate

metrics.averageCartSize

average_cart_size

metrics.averageCpc

average_cpc

metrics.averageOrderValueMicros

average_order_value_micros

metrics.clicks

clicks

metrics.conversions

conversions

metrics.conversionsFromInteractionsRate

conversions_from_interactions_rate

metrics.conversionsValue

conversions_value

metrics.costMicros

cost_micros

metrics.costOfGoodsSoldMicros

cost_of_goods_sold_micros

metrics.costPerAllConversions

cost_per_all_conversions

metrics.costPerConversion

cost_per_conversion

metrics.crossDeviceConversions

cross_device_conversions

metrics.crossSellCostOfGoodsSoldMicros

cross_sell_cost_of_goods_sold_micros

metrics.crossSellGrossProfitMicros

cross_sell_gross_profit_micros

metrics.crossSellRevenueMicros

cross_sell_revenue_micros

metrics.crossSellUnitsSold

cross_sell_units_sold

metrics.ctr

ctr

metrics.grossProfitMargin

gross_profit_margin

metrics.grossProfitMicros

gross_profit_micros

metrics.impressions

impressions

metrics.leadCostOfGoodsSoldMicros

lead_cost_of_goods_sold_micros

metrics.leadGrossProfitMicros

lead_gross_profit_micros

metrics.leadRevenueMicros

lead_revenue_micros

metrics.leadUnitsSold

lead_units_sold

metrics.orders

orders

metrics.revenueMicros

revenue_micros

metrics.unitsSold

units_sold

metrics.valuePerAllConversions

value_per_all_conversions

metrics.valuePerConversion

value_per_conversion

MD5(campaign.id + segments.productItemId + segments.date + segments.productTitle)

_key

Google Ads customer ID

adwords_client_id

ID of Merchant in Daasity App

_account_id

timestamp when data was extracted from Google Ads

__synced_at

Geo Campaigns

  • Endpoint: Reports

  • Update Method: UPSERT

  • Table Name: [adwords.geo_campaigns]

Optional report. Campaign performance by country and location type per day (geographic_view).

JSON Element
Database Column

MD5(geographicView.countryCriterionId + campaign.id + segments.date + geographicView.locationType)

id

segments.date

date

geographicView.countryCriterionId

country_criterion_id

geographicView.locationType

location_type

campaign.id

campaign_id

campaign.name

campaign_name

campaign.status

campaign_status

metrics.costMicros

cost

metrics.clicks

clicks

metrics.impressions

impressions

metrics.conversions

conversions

metrics.conversionsValue

conversions_value

metrics.allConversions

all_conversions

metrics.allConversionsValue

all_conversions_value

metrics.crossDeviceConversions

cross_device_conversions

metrics.viewThroughConversions

view_through_conversions

MD5(geographicView.countryCriterionId + campaign.id + segments.date + geographicView.locationType)

_key

Google Ads customer ID

adwords_client_id

ID of Merchant in Daasity App

_account_id

timestamp when data was extracted from Google Ads

__synced_at

Geo Ad Groups

  • Endpoint: Reports

  • Update Method: UPSERT

  • Table Name: [adwords.geo_adgroups]

Optional report. Ad group performance by country and location type per day (geographic_view).

JSON Element
Database Column

MD5(geographicView.countryCriterionId + campaign.id + adGroup.id + segments.date + geographicView.locationType)

id

segments.date

date

geographicView.countryCriterionId

country_criterion_id

geographicView.locationType

location_type

campaign.id

campaign_id

campaign.name

campaign_name

campaign.status

campaign_status

adGroup.id

ad_group_id

adGroup.name

ad_group_name

adGroup.status

ad_group_status

metrics.costMicros

cost

metrics.clicks

clicks

metrics.impressions

impressions

metrics.conversions

conversions

metrics.conversionsValue

conversions_value

metrics.allConversions

all_conversions

metrics.allConversionsValue

all_conversions_value

metrics.crossDeviceConversions

cross_device_conversions

metrics.viewThroughConversions

view_through_conversions

MD5(geographicView.countryCriterionId + campaign.id + adGroup.id + segments.date + geographicView.locationType)

_key

Google Ads customer ID

adwords_client_id

ID of Merchant in Daasity App

_account_id

timestamp when data was extracted from Google Ads

__synced_at

NOTE: Not all dimensions are used in transformation and/or exposed. If you would like to explore customization for this data, please contact support@daasity.com.

Was this helpful?