Skip to content

Commit

Permalink
review updates and docs regen
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetran-joemarkiewicz committed Nov 30, 2022
1 parent f5996aa commit 10d134d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .buildkite/scripts/run_models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ cd integration_tests
dbt deps
dbt seed --target "$db" --full-refresh
dbt run --target "$db" --full-refresh
dbt test --target "$db"
dbt run --vars '{twitter_ads__using_keywords: False}' --target "$db" --full-refresh
dbt test --target "$db"
2 changes: 1 addition & 1 deletion docs/catalog.json

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.

15 changes: 6 additions & 9 deletions models/stg_twitter_ads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,12 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- date_day
- line_item_id
- keyword
- placement
- keyword_id
columns:
- name: keyword_id
description: Unique key of the table built from the combination of 'account_id', 'line_item_id','segment', and 'placement' fields.
tests:
- not_null
- name: account_id
description: The ID of the related account.
- name: spend_micro
Expand All @@ -346,18 +348,13 @@ models:
description: The impressions for the line item + keyword on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.
- name: line_item_id
description: The ID of the line item.
tests:
- not_null
- name: url_clicks
description: The url clicks for the line item + keyword on that day.
- name: keyword
description: The keyword whose performance is being tracked.
tests:
- not_null
- name: placement
description: Where on Twitter the ad is being displayed. Possible values include 'ALL_ON_TWITTER', 'PUBLISHER_NETWORK', 'TWITTER_PROFILE', 'TWITTER_SEARCH', 'TWITTER_TIMELINE', and 'TAP_*', which are more granular options for `PUBLISHER_NETWORK`.
tests:
- not_null

- name: stg_twitter_ads__tweet
description: Each record represents a tweet, promoted or not.
columns:
Expand Down

0 comments on commit 10d134d

Please sign in to comment.