Skip to content

Commit c8c5ad2

Browse files
Merge branch 'main' into MagicBot/add-model-counts
2 parents 291f8e9 + a82f473 commit c8c5ad2

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Documentation
44
- Added Quickstart model counts to README. ([#130](https://github.com/fivetran/dbt_ad_reporting/pull/130))
55
- Corrected references to connectors and connections in the README. ([#130](https://github.com/fivetran/dbt_ad_reporting/pull/130))
6+
- Updated the [DECISIONLOG](https://github.com/fivetran/dbt_ad_reporting/blob/main/DECISIONLOG.md#timezone-considerations) and [README](https://github.com/fivetran/dbt_ad_reporting/blob/main/README.md#timezone-considerations) to include details about timezone differences across ad platforms. ([#131](https://github.com/fivetran/dbt_ad_reporting/pull/131))
67

78
# dbt_ad_reporting v1.11.0
89

DECISIONLOG.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,29 @@ tests:
3030
ad_reporting:
3131
not_null_ad_reporting__account_report_account_id:
3232
+enabled: false
33-
```
33+
```
34+
35+
### Timezone Considerations
36+
37+
The following table documents timezone differences across platforms in the `dbt_ad_reporting` package. These differences exist due to the following reasons:
38+
39+
- Ad platforms send pre-aggregated data that cannot be back-calculated to a finer granularity to account for timezone differences.
40+
- Some platforms offer hourly report data, which could potentially be standardized. However, this approach does not ensure full coverage due to non-standard timezones, such as ±30-minute and ±45-minute offsets.
41+
42+
Although this presents challenges within this package, customers can achieve standardization by configuring all Ad accounts and connectors to UTC whenever possible.
43+
44+
As of January 2025:
45+
46+
| Platform | Grain of Data | Timezone |
47+
|----------|---------------|----------|
48+
| Amazon Ads | Day | CLIENT SET in Amazon Ads |
49+
| Apple Search Ads | Day | CLIENT SET in Fivetran Connector to either UTC or the Apple Search Ads account timezone |
50+
| Facebook Ads | Day | CLIENT SET in Facebook Ads |
51+
| Google Ads | Hour (account, campaign, ad group) and Day (ad) - package uses daily reports | CLIENT SET in Google Ads |
52+
| Linkedin Ad Analytics | Day | UTC |
53+
| Microsoft Advertising | Hour - package uses daily reports | CLIENT SET in Microsoft Ads, UTC if not set|
54+
| Pinterest Ads | Hour - package uses daily reports | UTC |
55+
| Reddit Ads | Day | UTC |
56+
| Snapchat Ads | Hour | UTC |
57+
| TikTok Ads | Hour | UTC |
58+
| Twitter Ads | Day | CLIENT SET in Twitter Ads |

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Refer to the table below for a detailed view of final tables materialized by def
4444

4545
> The individual platform models may have additional platform-specific metrics and fields better suited for deep-dive analyses at the platform level.
4646
47+
4748
### Materialized Models
4849

4950
Each Quickstart transformation job run materializes the following model counts for each selected connector. The total model count represents all staging, intermediate, and final models, materialized as `view`, `table`, or `incremental`:
@@ -63,6 +64,8 @@ Each Quickstart transformation job run materializes the following model counts f
6364
| [TikTok Ads](https://github.com/fivetran/dbt_tiktok_ads) | 19 |
6465
| [Twitter Ads](https://github.com/fivetran/dbt_twitter) | 26 |
6566

67+
## Timezone Considerations
68+
Timezone differences across ad platforms impact standardization due to pre-aggregated data and non-standard timezones. See the [Decision Log - Timezone Considerations](https://github.com/fivetran/dbt_ad_reporting/blob/main/DECISIONLOG.md#timezone-considerations) for details.
6669
<!--section-end-->
6770

6871
## How do I use the dbt package?

0 commit comments

Comments
 (0)