Skip to content

Commit

Permalink
Merge pull request #57 from fivetran/bug/selected-join-table
Browse files Browse the repository at this point in the history
Bug/selected join table
  • Loading branch information
fivetran-catfritz authored Aug 31, 2023
2 parents 9ac3079 + c539fa3 commit d89ede1
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 15 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# dbt_google_ads v0.9.3
[PR #57](https://github.com/fivetran/dbt_google_ads/pull/57) includes the following updates:
## Bug fixes
- Updated end models to select key columns from the `stats` source instead of the `reports` source to avoid introducing null values.

## Contributors
- [@edwardskatie](https://github.com/edwardskatie) ([PR #54](https://github.com/fivetran/dbt_google_ads/pull/54))

# dbt_google_ads v0.9.2

## 🎉 Features 🎉
Expand Down
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'google_ads'
version: '0.9.2'
version: '0.9.3'

config-version: 2
require-dbt-version: [">=1.3.0", "<2.0.0"]
Expand Down
2 changes: 1 addition & 1 deletion docs/catalog.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/run_results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'google_ads_integration_tests'
version: '0.9.2'
version: '0.9.3'

profile: 'integration_tests'
config-version: 2
Expand Down
2 changes: 1 addition & 1 deletion models/google_ads__account_report.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fields as (
select
stats.date_day,
accounts.account_name,
accounts.account_id,
stats.account_id,
accounts.currency_code,
accounts.auto_tagging_enabled,
accounts.time_zone,
Expand Down
2 changes: 1 addition & 1 deletion models/google_ads__ad_group_report.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fields as (
campaigns.campaign_name,
campaigns.campaign_id,
ad_groups.ad_group_name,
ad_groups.ad_group_id,
stats.ad_group_id,
ad_groups.ad_group_status,
ad_groups.ad_group_type,
sum(stats.spend) as spend,
Expand Down
2 changes: 1 addition & 1 deletion models/google_ads__ad_report.sql
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fields as (
campaigns.campaign_name,
campaigns.campaign_id,
ad_groups.ad_group_name,
ad_groups.ad_group_id,
stats.ad_group_id,
stats.ad_id,
ads.ad_name,
ads.ad_status,
Expand Down
2 changes: 1 addition & 1 deletion models/google_ads__campaign_report.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fields as (
accounts.account_id,
accounts.currency_code,
campaigns.campaign_name,
campaigns.campaign_id,
stats.campaign_id,
campaigns.advertising_channel_type,
campaigns.advertising_channel_subtype,
campaigns.status,
Expand Down
2 changes: 1 addition & 1 deletion models/google_ads__keyword_report.sql
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fields as (
stats.campaign_id,
ad_groups.ad_group_name,
stats.ad_group_id,
criterions.criterion_id,
stats.criterion_id,
criterions.type,
criterions.status,
criterions.keyword_match_type,
Expand Down
4 changes: 2 additions & 2 deletions models/google_ads__url_report.sql
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ fields as (
campaigns.campaign_name,
campaigns.campaign_id,
ad_groups.ad_group_name,
ad_groups.ad_group_id,
ads.ad_id,
stats.ad_group_id,
stats.ad_id,
ads.base_url,
ads.url_host,
ads.url_path,
Expand Down

0 comments on commit d89ede1

Please sign in to comment.