-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
[ISSUE 9173] add ERD files for source-bing-ads (#44516)
Showing
4 changed files
with
20,983 additions
and
0 deletions.
There are no files selected for viewing
18,605 changes: 18,605 additions & 0 deletions
18,605
airbyte-integrations/connectors/source-bing-ads/erd/discovered_catalog.json
Large diffs are not rendered by default.
Oops, something went wrong.
666 changes: 666 additions & 0 deletions
666
airbyte-integrations/connectors/source-bing-ads/erd/estimated_relationships.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,666 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"name": "accounts", | ||
"relations": { | ||
"BackUpPaymentInstrumentId": "payment_instruments.Id", | ||
"BillToCustomerId": "customers.Id", | ||
"LastModifiedByUserId": "users.Id", | ||
"ParentCustomerId": "customers.Id", | ||
"PaymentMethodId": "payment_methods.Id", | ||
"PrimaryUserId": "users.Id", | ||
"SalesHouseCustomerId": "customers.Id", | ||
"SoldToPaymentInstrumentId": "payment_instruments.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_groups", | ||
"relations": { | ||
"CampaignId": "campaigns.Id", | ||
"AccountId": "accounts.Id", | ||
"CustomerId": "customers.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_group_labels", | ||
"relations": { | ||
"Account Id": "accounts.Id", | ||
"Parent Id": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "app_install_ads", | ||
"relations": { | ||
"Client Id": "accounts.Id", | ||
"Parent Id": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "app_install_ad_labels", | ||
"relations": { | ||
"Account Id": "accounts.Id", | ||
"Parent Id": "app_install_ads.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ads", | ||
"relations": { | ||
"AdGroupId": "ad_groups.Id", | ||
"AccountId": "accounts.Id", | ||
"CustomerId": "customers.Id" | ||
} | ||
}, | ||
{ | ||
"name": "budget", | ||
"relations": { | ||
"Account Id": "accounts.Id", | ||
"Client Id": "accounts.Id", | ||
"Parent Id": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "campaigns", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CustomerId": "customers.Id", | ||
"BudgetId": "budget.Budget Id" | ||
} | ||
}, | ||
{ | ||
"name": "budget_summary_report", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "labels", | ||
"relations": { | ||
"Account Id": "accounts.Id", | ||
"Client Id": "accounts.Id" | ||
} | ||
}, | ||
{ | ||
"name": "keyword_labels", | ||
"relations": { | ||
"Account Id": "accounts.Id", | ||
"Parent Id": "keywords.Id" | ||
} | ||
}, | ||
{ | ||
"name": "keywords", | ||
"relations": { | ||
"Account Id": "accounts.Id", | ||
"Client Id": "accounts.Id", | ||
"Parent Id": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "campaign_labels", | ||
"relations": { | ||
"Account Id": "accounts.Id", | ||
"Parent Id": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "age_gender_audience_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "age_gender_audience_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "age_gender_audience_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "age_gender_audience_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "account_impression_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id" | ||
} | ||
}, | ||
{ | ||
"name": "account_impression_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id" | ||
} | ||
}, | ||
{ | ||
"name": "account_impression_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id" | ||
} | ||
}, | ||
{ | ||
"name": "account_impression_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id" | ||
} | ||
}, | ||
{ | ||
"name": "account_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id" | ||
} | ||
}, | ||
{ | ||
"name": "account_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id" | ||
} | ||
}, | ||
{ | ||
"name": "account_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id" | ||
} | ||
}, | ||
{ | ||
"name": "account_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id" | ||
} | ||
}, | ||
{ | ||
"name": "audience_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "audience_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "audience_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "audience_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "keyword_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"KeywordId": "keywords.Id", | ||
"AdId": "ads.Id" | ||
} | ||
}, | ||
{ | ||
"name": "keyword_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"KeywordId": "keywords.Id", | ||
"AdId": "ads.Id" | ||
} | ||
}, | ||
{ | ||
"name": "keyword_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"KeywordId": "keywords.Id", | ||
"AdId": "ads.Id" | ||
} | ||
}, | ||
{ | ||
"name": "keyword_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"KeywordId": "keywords.Id", | ||
"AdId": "ads.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_group_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_group_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_group_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_group_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"AdId": "ads.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"AdId": "ads.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"AdId": "ads.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"AdId": "ads.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_group_impression_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_group_impression_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_group_impression_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "ad_group_impression_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "campaign_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "campaign_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "campaign_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "campaign_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "campaign_impression_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "campaign_impression_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "campaign_impression_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "campaign_impression_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "geographic_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "geographic_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "geographic_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "geographic_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"BaseCampaignId": "campaigns.Id" | ||
} | ||
}, | ||
{ | ||
"name": "goals_and_funnels_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"KeywordId": "keywords.Id" | ||
} | ||
}, | ||
{ | ||
"name": "goals_and_funnels_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"KeywordId": "keywords.Id" | ||
} | ||
}, | ||
{ | ||
"name": "goals_and_funnels_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"KeywordId": "keywords.Id" | ||
} | ||
}, | ||
{ | ||
"name": "goals_and_funnels_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"KeywordId": "keywords.Id" | ||
} | ||
}, | ||
{ | ||
"name": "product_dimension_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdId": "ads.Id", | ||
"CampaignType": "campaigns.CampaignType", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "product_dimension_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdId": "ads.Id", | ||
"CampaignType": "campaigns.CampaignType", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "product_dimension_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdId": "ads.Id", | ||
"CampaignType": "campaigns.CampaignType", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "product_dimension_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdId": "ads.Id", | ||
"CampaignType": "campaigns.CampaignType", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "product_search_query_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdId": "ads.Id", | ||
"CampaignType": "campaigns.CampaignType", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "product_search_query_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdId": "ads.Id", | ||
"CampaignType": "campaigns.CampaignType", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "product_search_query_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdId": "ads.Id", | ||
"CampaignType": "campaigns.CampaignType", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "product_search_query_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdId": "ads.Id", | ||
"CampaignType": "campaigns.CampaignType", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "search_query_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"AdId": "ads.Id", | ||
"KeywordId": "keywords.Id" | ||
} | ||
}, | ||
{ | ||
"name": "search_query_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"AdId": "ads.Id", | ||
"KeywordId": "keywords.Id" | ||
} | ||
}, | ||
{ | ||
"name": "search_query_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"AdId": "ads.Id", | ||
"KeywordId": "keywords.Id" | ||
} | ||
}, | ||
{ | ||
"name": "search_query_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"AdId": "ads.Id", | ||
"KeywordId": "keywords.Id" | ||
} | ||
}, | ||
{ | ||
"name": "user_location_performance_report_hourly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"LocationId": "geographic_performance_report_daily.LocationId", | ||
"QueryIntentLocationId": "geographic_performance_report_daily.LocationId", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "user_location_performance_report_daily", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"LocationId": "geographic_performance_report_daily.LocationId", | ||
"QueryIntentLocationId": "geographic_performance_report_daily.LocationId", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "user_location_performance_report_weekly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"LocationId": "geographic_performance_report_daily.LocationId", | ||
"QueryIntentLocationId": "geographic_performance_report_daily.LocationId", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
}, | ||
{ | ||
"name": "user_location_performance_report_monthly", | ||
"relations": { | ||
"AccountId": "accounts.Id", | ||
"CampaignId": "campaigns.Id", | ||
"AdGroupId": "ad_groups.Id", | ||
"LocationId": "geographic_performance_report_daily.LocationId", | ||
"QueryIntentLocationId": "geographic_performance_report_daily.LocationId", | ||
"AssetGroupId": "asset_groups.Id" | ||
} | ||
} | ||
] | ||
} |
1,711 changes: 1,711 additions & 0 deletions
1,711
airbyte-integrations/connectors/source-bing-ads/erd/source.dbml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters