Skip to content

Commit 4f6b147

Browse files
Merge pull request #46 from fivetran/bugfix/google-ads-update
Bugfix/google ads update
2 parents fda2aa4 + 554b6f1 commit 4f6b147

10 files changed

+41
-219
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# dbt_ad_reporting v0.7.0
2+
## 🚨 Breaking Changes 🚨
3+
- The Google Ads dependency has been updated to now reference the latest version of the `dbt_google_ads` package (v0.6.0). This version of the package incorporates new and modified tables within the `Google Ads API` version of the connector. For more information, refer to the relevant [dbt_google_ads](https://github.com/fivetran/dbt_google_ads_source/releases/tag/v0.6.0) and [dbt_google_ads_source](https://github.com/fivetran/dbt_google_ads/releases/tag/v0.6.0) v0.6.0 release notes.
4+
15
# dbt_ad_reporting v0.6.0
26
TikTok Ads has been added as a dependency and is enabled by default. Be sure to disable the models via the README if you do not have a TikTok Ads connector.
37

@@ -25,4 +29,4 @@ TikTok Ads has been added as a dependency and is enabled by default. Be sure to
2529
- @csoule1622 ([#30](https://github.com/fivetran/dbt_ad_reporting/pull/30))
2630

2731
# dbt_ad_reporting v0.1.0 -> v0.5.0
28-
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!
32+
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Include in your `packages.yml`
3030
```yaml
3131
packages:
3232
- package: fivetran/ad_reporting
33-
version: [">=0.6.0", "<0.7.0"]
33+
version: [">=0.7.0", "<0.8.0"]
3434

3535
```
3636

dbt_project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'ad_reporting'
2-
version: '0.6.0'
2+
version: '0.7.0'
33
config-version: 2
44

55
require-dbt-version: [">=1.0.0", "<2.0.0"]

integration_tests/dbt_project.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'ad_reporting_integration_tests'
2-
version: '0.6.0'
2+
version: '0.7.0'
33
profile: 'integration_tests'
44
config-version: 2
55

@@ -12,12 +12,11 @@ vars:
1212
google_ads__final_url_performance: "{{ ref('google_ads_final_url_performance_data') }}"
1313
google_ads__click_performance: "{{ ref('google_ads_click_performance_data') }}"
1414
google_ads__criteria_performance: "{{ ref('google_ads_criteria_performance_data') }}"
15-
google_ads__ad_final_url_history: "{{ ref('google_ads_ad_final_url_history_data') }}"
1615
google_ads__ad_stats: "{{ ref('google_ads_ad_stats_data') }}"
1716
google_ads__ad_history: "{{ ref('google_ads_ad_history_data') }}"
1817
google_ads__ad_group_history: "{{ ref('google_ads_ad_group_history_data') }}"
1918
google_ads__campaign_history: "{{ ref('google_ads_campaign_history_data') }}"
20-
google_ads__account: "{{ ref('google_ads_account_data') }}"
19+
google_ads__account_history: "{{ ref('google_ads_account_history_data') }}"
2120

2221
microsoft_ads_source:
2322
account_history: "{{ ref('microsoft_ads_account_history_data') }}"
@@ -181,10 +180,6 @@ seeds:
181180
id: "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"
182181
base_campaign_id: "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"
183182
customer_id: "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"
184-
google_ads_ad_final_url_history_data:
185-
+column_types:
186-
ad_id: "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"
187-
ad_group_id: "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"
188183
google_ads_ad_group_history_data:
189184
+column_types:
190185
id: "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"
@@ -195,8 +190,6 @@ seeds:
195190
+column_types:
196191
id: "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"
197192
ad_group_id: "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"
198-
base_adgroup_id: "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"
199-
base_campaign_id: "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"
200193

201194
### Facebook Seeds
202195

@@ -235,4 +228,4 @@ seeds:
235228

236229
snapchat_ad_hourly_report_data:
237230
+column_types:
238-
date: timestamp
231+
date: timestamp

integration_tests/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dbt-snowflake==1.0.0
22
dbt-bigquery==1.0.0
33
dbt-redshift==1.0.0
4-
dbt-postgres==1.0.0
4+
dbt-postgres==1.0.3
55
dbt-spark==1.0.0
66
dbt-spark[PyHive]==1.0.0

integration_tests/seeds/google_ads_account_data.csv

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
id,updated_at,_fivetran_synced,auto_tagging_enabled,currency_code,descriptive_name,final_url_suffix,hidden,manager,manager_customer_id,optimization_score,pay_per_conversion_eligibility_failure_reasons,test_account,time_zone,tracking_url_template
2+
2121450128,2022-02-01 2:20:51,2022-02-01 2:20:52,TRUE,USD,,FALSE,FALSE,,0.5,[],FALSE,America/Los_Angeles,,

integration_tests/seeds/google_ads_ad_final_url_history_data.csv

-101
This file was deleted.

0 commit comments

Comments
 (0)